On-line Debugging Tool: Difference between revisions

Content deleted Content added
m Example: <source lang="nasm">
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags
Line 24:
 
This deposits the program
<sourcesyntaxhighlight lang="nasm">
MOVB 'A', @#177566 ; Move 'A' into console transmit register
JMP @#1000 ; Jump back to start
</syntaxhighlight>
</source>
The deposit to the PC [Program Counter], sets the PC to the start of the program and the deposit to the PSW [Program Status Word] locks out interrupts.