Halt and catch fire: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 14: Line 14:
<lang 6502asm> db $02</lang>
<lang 6502asm> db $02</lang>


=={{header|8086 Assembly}}==
{{trans|Z80 Assembly}}==
These two lines will halt the processor:
<lang asm>cli
hlt</lang>
=={{header|68000 Assembly}}==
=={{header|68000 Assembly}}==
The 68000 can only read words or longs at even addresses. Attempting to do so at an odd address will crash the CPU.
The 68000 can only read words or longs at even addresses. Attempting to do so at an odd address will crash the CPU.