1 # FIXME: wip, copied from ../testutils.inc
2 # r0-r3 are used as tmps, consider them call clobbered by these macros.
3 # This uses the angel rom monitor calls.
4 # ??? How do we use the \@ facility of .macros ???
5 # @ is the comment char!
7 .macro a_mvi_h_gr reg, val
13 .macro mvaddr_h_gr reg, addr
47 # *** Other macros know pass/fail are 4 bytes in size! Yuck.
59 mov r0, #0x2a @ decimal 42
61 # If that returns, punt with a sigill.
65 # Other macros know this only clobbers r0.
66 .macro test_h_gr reg, val
73 .macro mvi_h_cc c, n, v, z
83 .macro test_h_cc c, n, v, z