From f5501f8d5f419da2d0e96dcdc8e95c7afedf2868 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 22 Aug 2020 11:32:06 +0100 Subject: [PATCH] add pseudo-op conversion --- src/soc/simulator/test_sim.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/soc/simulator/test_sim.py b/src/soc/simulator/test_sim.py index 4c2554b7..b44d059f 100644 --- a/src/soc/simulator/test_sim.py +++ b/src/soc/simulator/test_sim.py @@ -58,6 +58,12 @@ class GeneralTestCases(FHDLTestCase): 32b4: 00 00 00 60 nop 32b8: fc ff 00 42 bdnz 32b4 32bc: 20 00 80 4e blr + + notes on converting pseudo-assembler to actual: + + * bdnz target (equivalent to: bc 16,0,target) + * Clear left immediate clrldi ra,rs,n (n < 64) rldicl ra,rs,0,n + * CTR mtctr Rx mtspr 9,Rx """ pass -- 2.30.2