1 // load up some registers.
2 // setup up
a global pointer table
and load some state.
3 // save the machine state
and clear some of the values.
4 // then restore
and assert some of the values to ensure that
5 // we maintain consitent machine state.
9 .include "testutils.inc"
35 [ -- SP
] = ( R7:0, P5
:0 );
45 ( R7:0, P5
:0 ) = [ SP
++ ];
49 DBGA
( R3.
L , 0xfff9);
68 [ -- SP
] = ( R7:0, P5
:0 );
73 ( R7:0, P5
:0 ) = [ SP
++ ];
79 [ -- SP
] = ( R7:0, P5
:0 );
81 DBGA
( R0.
L , 0x1234 );
82 ( R7:0, P5
:0 ) = [ SP
++ ];