u
This commit is contained in:
parent
40c061cf4c
commit
cbb315da34
11
counter.S
11
counter.S
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user