<html>
<body>
hi,<br><br>
it's Prime Macro Assembler - the language of (now non-existant) Prime
Computers.<br><br>
we would fat-finger this little diddy on the control panel to see if the
newly-assembled machine thought it was a computer - as opposed to a bunch
of parts just recently put together.<br><br>
it would read the console switches (device address 1620) , output them to
the LEDS (device address 1720&nbsp; on the control panel), and just keep
on doing it. flip a switch, light a LED.<br><br>
(you're still a geek, but you're in good company :-)<br><br>
&nbsp;- adm -<br><br>
At 05:31 PM 6/15/2004, you wrote:<br>
<blockquote type=cite class=cite cite="">&gt; 1000: INA 1620<br>
&gt; 1001: OTA 1720<br>
&gt; 1002: JMP 1000<br>
&gt;<br>
&gt; ....those were the days.<br>
&gt;<br><br>
*sobs*&nbsp; I am _such_ a geek.<br><br>
If you're after 6502 code, you missed. :)&nbsp; OTA and INA are not
valid<br>
opcodes and even if they were, your addressing is off. :)&nbsp; The
instruction<br>
is one byte and the operands are two bytes, so assuming OTA and INA
_were_<br>
valid, you'd have:<br><br>
1000&nbsp;&nbsp; INA $1620<br>
1003&nbsp;&nbsp; OTA $1720<br>
1006&nbsp;&nbsp; JMP $1000<br><br>
Which if course would be an endless loop and you'd lock the machine up.
:)<br><br>
<br>
g.<br><br>
*wanders away mumbling about indirect addressing modes and cursing
Chuck<br>
Peddle...*<br><br>
<br><br>
_______________________________________________<br>
Simpits-tech mailing list<br>
Simpits-tech@simpits.org<br>
<a href="http://www.simpits.org/mailman/listinfo/simpits-tech" eudora="autourl">http://www.simpits.org/mailman/listinfo/simpits-tech</a><br>
To unsubscribe, please see the instructions at the bottom of the above
page.&nbsp; Thanks! </blockquote>
<x-sigsep><p></x-sigsep>
<hr>
<br>
Alan D.
Mazurka&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
adm.design@verizon.net&nbsp;&nbsp;&nbsp;&nbsp; <br>
</body>
</html>