<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Hot Scripts Forums - Other Languages</title>
		<link>http://www.hotscripts.com/forums/</link>
		<description>Discuss any other programming language not covered in the above forums.</description>
		<language>en</language>
		<lastBuildDate>Tue, 24 Nov 2009 16:01:49 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://cdn.hotscripts.com/forums/hsforum/misc/rss.jpg</url>
			<title>Hot Scripts Forums - Other Languages</title>
			<link>http://www.hotscripts.com/forums/</link>
		</image>
		<item>
			<title>Marie code</title>
			<link>http://www.hotscripts.com/forums/other-languages/55969-marie-code.html</link>
			<pubDate>Mon, 23 Nov 2009 21:40:21 GMT</pubDate>
			<description><![CDATA[I have to write this in MARIE Assemble Code: 
 
M = 1;  
N = 1;  
while M < 16  
{ M = M + N:  
N = N + 1;  
} end while 
 
This is what I have: Can you please make adjustments as needed. Thank You in Advance!!]]></description>
			<content:encoded><![CDATA[<div>I have to write this in MARIE Assemble Code:<br />
<br />
M = 1; <br />
N = 1; <br />
while M &lt; 16 <br />
{ M = M + N: <br />
N = N + 1; <br />
} end while<br />
<br />
This is what I have: Can you please make adjustments as needed. Thank You in Advance!!<br />
<br />
Org 100 / This starts the program at address 100<br />
Load N / Load N into the AC<br />
Add One / Increment<br />
Store Next / Store this address as out Next pointer<br />
Load M / Load M into the AC<br />
Add N / Add N to M<br />
Store Ctr / Store this value in Ctr to control looping<br />
Loop, Load Sum / Load the Sum into AC<br />
AddI Next /Add the value pointed to by location Next<br />
Store Sum / Store this Sum<br />
Load Next / load Next<br />
Add One / Increment by one to point to next address address<br />
Store Next / Store in our pointer Next<br />
Load Ctr / Load the loop control variable<br />
Add Next / Add the value pointed to by location Next<br />
Store Ctr / Store thie new value in loop control variable<br />
Skipcond 000 / if control variable &lt; 16 then skip next instruction<br />
Jump Loop / Otherwise, go to Loop<br />
Halt / Terminate Program<br />
M, Dec 1 / M = 1<br />
N, Dec 1 / N = 1<br />
One, Dec 1 / Used to Increment or Decrement<br />
Next, Hex 0 / A pointer to the next number to add<br />
Ctr, Hex 0 / The loop control variable<br />
Sum, Dec 0 / The sum</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/other-languages/">Other Languages</category>
			<dc:creator>JoGo1</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/other-languages/55969-marie-code.html</guid>
		</item>
		<item>
			<title>MARIE Code</title>
			<link>http://www.hotscripts.com/forums/other-languages/55965-marie-code.html</link>
			<pubDate>Mon, 23 Nov 2009 21:27:20 GMT</pubDate>
			<description><![CDATA[I have to write this in MARIE Assemble Code: 
 
M = 1;  
N = 1;  
while M < 16  
{ M = M + N:  
N = N + 1;  
} end while 
 
This is what I have:   Can you please make adjustments as needed. Thank You in Advance!!]]></description>
			<content:encoded><![CDATA[<div>I have to write this in MARIE Assemble Code:<br />
<br />
M = 1; <br />
N = 1; <br />
while M &lt; 16 <br />
{ M = M + N: <br />
N = N + 1; <br />
} end while<br />
<br />
This is what I have:   Can you please make adjustments as needed. Thank You in Advance!!<br />
<br />
Org 100  / This starts the program at address 100<br />
Load N  / Load N into the AC<br />
Add One  / Increment<br />
Store Next / Store this address as out Next pointer<br />
Load M  / Load M into the AC<br />
Add N  / Add N to M<br />
Store Ctr / Store this value in Ctr to control looping<br />
Loop, Load Sum / Load the Sum into AC<br />
AddI Next /Add the value pointed to by location Next<br />
Store Sum / Store this Sum<br />
Load Next / load Next<br />
Add One  / Increment by one to point to next address address<br />
Store Next / Store in our pointer Next<br />
Load Ctr / Load the loop control variable<br />
Add Next / Add the value pointed to by location Next<br />
Store Ctr / Store thie new value in loop control variable<br />
Skipcond 000 / if control variable &lt; 16 then skip next instruction<br />
Jump Loop / Otherwise, go to Loop<br />
Halt  / Terminate Program<br />
M, Dec 1  / M = 1<br />
N, Dec 1  / N = 1<br />
One, Dec 1  / Used to Increment or Decrement<br />
Next, Hex 0  / A pointer to the next number to add<br />
Ctr, Hex 0  / The loop control variable<br />
Sum, Dec 0  / The sum</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/other-languages/">Other Languages</category>
			<dc:creator>JoGo1</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/other-languages/55965-marie-code.html</guid>
		</item>
		<item>
			<title>Assembly language..HELP!!!</title>
			<link>http://www.hotscripts.com/forums/other-languages/55829-assembly-language-help.html</link>
			<pubDate>Wed, 11 Nov 2009 03:23:44 GMT</pubDate>
			<description><![CDATA[hey, watsup all 
 
I'm new to assebmly language and i need help with a program (if you all wana help) 
the program should prompt the user to enter a number if the number is even output 0 and 1 if it is even 
 
Thanx,]]></description>
			<content:encoded><![CDATA[<div>hey, watsup all<br />
<br />
I'm new to assebmly language and i need help with a program (if you all wana help)<br />
the program should prompt the user to enter a number if the number is even output 0 and 1 if it is even<br />
<br />
Thanx,</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/other-languages/">Other Languages</category>
			<dc:creator>RobertH900</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/other-languages/55829-assembly-language-help.html</guid>
		</item>
	</channel>
</rss>
