This commit is contained in:
mpabi 2025-03-11 10:51:21 +00:00
parent 40c061cf4c
commit cbb315da34

View File

@ -1,5 +1,15 @@
.data .data
// 0x8000102c // 0x8000102c
// x7 = PC+(imm <<()
// x7 =
// =
// 0x8000 0000 +
// 0x8001 0000
// = 0x8001 0000
// aupic x7, 1
sentence: .ascii "Become a Prograammermmmmmrr\0" sentence: .ascii "Become a Prograammermmmmmrr\0"
// ^ // ^
// ^ // ^
@ -11,7 +21,6 @@ sentence: .ascii "Become a Prograammermmmmmrr\0"
_start: _start:
la t2, sentence # Load the address of sentence into t2 la t2, sentence # Load the address of sentence into t2
li t0, 0x72 // ascii 'm' li t0, 0x72 // ascii 'm'
li t1, 0x00 // licznik wystapien 'm' li t1, 0x00 // licznik wystapien 'm'