1
0
Fork 0
forked from koniifer/ableos

remove the fuckywucky memory shit

This commit is contained in:
Christian Westrom 2024-05-06 00:48:24 +09:00
parent edda52e857
commit b96927d61a

View file

@ -7,23 +7,23 @@ fn main(){
// std::Debug("XYZ"); // std::Debug("XYZ");
// std::Trace("Trace Deez"); // std::Trace("Trace Deez");
let ADDR = 0xFFFF_FFFF_8100_0000; // let ADDR = 0xFFFF_FFFF_8100_0000;
let ADDR_PLUS_ONE = ADDR + 1; // let ADDR_PLUS_ONE = ADDR + 1;
let ADDR_PLUS_NINE = ADDR + 9; // let ADDR_PLUS_NINE = ADDR + 9;
li64(r25, 1); // li64(r25, 1);
st(r25, r0, ADDR, 1); // st(r25, r0, ADDR, 1);
li64(r25, 0); // li64(r25, 0);
st(r25, r0, ADDR_PLUS_ONE, 8); // st(r25, r0, ADDR_PLUS_ONE, 8);
li64(r25, 17); // li64(r25, 17);
st(r25, r0, ADDR_PLUS_NINE, 1); // st(r25, r0, ADDR_PLUS_NINE, 1);
li64(r1, 3); // li64(r1, 3);
li64(r2, 2); // li64(r2, 2);
li64(r3, ADDR); // li64(r3, ADDR);
li64(r4, 0); // li64(r4, 0);
eca(); eca();