Microprocessor control instructions test bench
From Zet
This example tests these instructions:
- clc
- cld
- cli
- cmc
- hlt
- nop
- stc
- std
- sti
Code
<embed_code>03_control.s</embed_code>
Results
Memory contents at the end should be:
0x00: 0x08d6 0x0603 0xXXXX 0xXXXX 0xXXXX 0xXXXX 0xXXXX 0xXXXX