From e290956adf94dade4c9c4cd057cca08af1c61aeb Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 18 Dec 2022 18:31:03 -0600 Subject: Implement privileged ldm/stm of user registers --- tb/sim/modeswitch.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tb/sim/modeswitch.py') 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) -- cgit v1.2.3