diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-12-18 18:31:03 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-12-18 18:31:03 -0600 |
| commit | e290956adf94dade4c9c4cd057cca08af1c61aeb (patch) | |
| tree | df310fe32102781b48d20d66b5c51cfdb2ad7901 /tb/sim/modeswitch.py | |
| parent | 46eae9622ab6f1a39c6253dc0998e03c57513510 (diff) | |
Implement privileged ldm/stm of user registers
Diffstat (limited to '')
| -rw-r--r-- | tb/sim/modeswitch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tb/sim/modeswitch.py b/tb/sim/modeswitch.py index e33d906..1e6e193 100644 --- a/tb/sim/modeswitch.py +++ b/tb/sim/modeswitch.py @@ -7,4 +7,6 @@ def final(): assert_reg(r5, 0x6000_0190) assert_reg(cpsr, 0x0000_0190) assert_reg(r13_svc, 0x2000_0000) + assert_reg(r13_usr, 0x2000_0000) + assert_reg(r12_usr, 0xfee1_dead) assert_reg(r13_und, 0x0000_01db) |
