clear
power on
regs

memset 00c9 55
op a2 0b
op d6 be

# Should be: mem[$00C9]=54, IX=0B
test ix = 0b
test m:00c9 = 54

# Wrap and Negative case -------------
power on

memset 00c9 00
op a2 0b
op d6 be

# Should be: memory[$00C9]=FF, S=1
test m:00c9 = ff
test ix = 0b
test s = 1

# Zero case -------------------
power on

memset 00c9 01
op a2 0b
op d6 be

# Should be: memory[$00C9]=00, Z=1
test m:00c9 = 00
test ix = 0b
test z = 1

save verify_D6.txt
