diff options
Diffstat (limited to 'tb/sim')
| -rw-r--r-- | tb/sim/cpuid.S | 4 | ||||
| -rw-r--r-- | tb/sim/cpuid.py | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tb/sim/cpuid.S b/tb/sim/cpuid.S new file mode 100644 index 0000000..cde1786 --- /dev/null +++ b/tb/sim/cpuid.S @@ -0,0 +1,4 @@ +.global reset +reset: + mrc p15, 0, r0, c0, c0, 0 + mov pc, lr diff --git a/tb/sim/cpuid.py b/tb/sim/cpuid.py new file mode 100644 index 0000000..feb6b68 --- /dev/null +++ b/tb/sim/cpuid.py @@ -0,0 +1,2 @@ +def final(): + assert_reg(r0, 0x41018100); |
