beepo/tests/adding/program.rhai

19 lines
477 B
Plaintext
Raw Normal View History

2023-11-17 02:02:40 -06:00
li8 (r1, 0x10);
li16 (r2, 0x1010);
li32 (r3, 0x10101010);
li64 (r4, 0x1010101010101010);
2023-11-21 05:08:22 -06:00
ebp();
2023-11-17 02:02:40 -06:00
2023-11-21 05:08:22 -06:00
add8 (r1, r1, r1); // 20
add16 (r1, r1, r2); // 1030
add32 (r1, r1, r3); // 10102040
add64 (r1, r1, r4); // 1010101020203050
ebp();
2023-11-17 02:02:40 -06:00
2023-11-21 05:08:22 -06:00
addi8 (r1, r1, 0x10); // 1010101020203060
addi16 (r1, r1, 0x1010); // 1010101020204070
addi32 (r1, r1, 0x10101010); // 1010101030305080
addi64 (r1, r1, 0x1010101010101010); // 2020202040406090
ebp();
2023-11-17 02:02:40 -06:00
tx();