Macro Instructions
type address label variable,
src2 integer variable,
rsrc1 register variable,
rsrc2 register variable;
bne rsrc1 src2 address macro
begin
ty=src2.[31:16];
tx=src2.[15:16];
lui : rt=1 immediate=ty;
ori : rt=1 rs=1 immediate=tx;
bne_: rs=rsrc1 rt=1
immediate=<address.delta.jump_address>
end;
Previous slide
Next slide
Back to first slide
View graphic version