Microprocessor control instructions test bench

From Zet
Jump to: navigation, search

This example tests these instructions:

  1. clc
  2. cld
  3. cli
  4. cmc
  5. hlt
  6. nop
  7. stc
  8. std
  9. 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