mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-11-09 21:14:57 -07:00
clean up some notes in test.S
This commit is contained in:
parent
f6c0fb7da1
commit
06d0e07c61
|
@ -1,11 +1,6 @@
|
|||
.global _start
|
||||
.text
|
||||
_start:
|
||||
# NOTE: nop required because cpu currently does not detect when something is needed from a later stage of the pipeline.
|
||||
# 4 clocks allows one instruction to finish before the next reads the regfile
|
||||
|
||||
# JAL
|
||||
# JALR
|
||||
|
||||
# lui
|
||||
lui x1, 0xfedcb # x1 = 0xfedcb000
|
||||
|
@ -137,7 +132,7 @@ _start:
|
|||
auipc x3, 0 # x3 = pc + 0
|
||||
auipc x4, 3 # x4 = pc + 0x3000
|
||||
auipc x5, 0xfffff # x5 = pc + 0xfffff000
|
||||
# TODO: verify auipc adds and does not concatenate (must have PC>0xfff for this)
|
||||
# TODO: verify auipc adds and does not concatenate (must have PC>0xfff to test this)
|
||||
|
||||
# jal
|
||||
jal x1, test_jalr
|
||||
|
|
Loading…
Reference in New Issue
Block a user