Segment override test bench

From Zet
Jump to: navigation, search

This example tests the different prefixes that can override the default segment

Code

<embed_code>19_segpr.s</embed_code>

Results

Memory contents at the end should be:

0x00:  0x1100  0xf000  0x1100  0xf000  0x001c  0x2345  0x0078  0x005f
0x10:  0x0007  0x0000  0x1200  0xff01  0x80ff  0x0002  0xXXXX  0xXXXX
0x20:  0xXXXX  0xXXXX  0xXXXX  0x0097  0x0079  0x0065  0xf000  0x0002