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.
8 .include "testutils.inc"
34 [ -- SP
] = ( R7:0, P5
:0 );
44 ( R7:0, P5
:0 ) = [ SP
++ ];
48 DBGA
( R3.
L , 0xfff9 );
67 [ -- SP
] = ( R7:0, P5
:0 );
72 ( R7:0, P5
:0 ) = [ SP
++ ];
78 [ -- SP
] = ( R7:0, P5
:0 );
80 DBGA
( R0.
L , 0x1234 );
82 ( R7:0, P5
:0 ) = [ SP
++ ];
87 DBGA
( R0.
L , 0x1234 );