String instructions test bench
From Zet
This example tests these instructions:
- cmpsb
- cmpsw
- lodsb
- lodsw
- movsb
- movsw
- scasb
- scasw
- stosb
- stosw
Code
<embed_code>07_strings.s</embed_code>
Results
Memory contents at the end should be:
0x00: 0xXXXX 0x1234 0xXXXX 0xXXXX 0xXXXX 0xXXXX 0xXXXX 0xXXXX