From: Luke Kenneth Casson Leighton Date: Sat, 22 Aug 2020 10:32:06 +0000 (+0100) Subject: add pseudo-op conversion X-Git-Tag: semi_working_ecp5~272^2~36 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5501f8d5f419da2d0e96dcdc8e95c7afedf2868;p=soc.git add pseudo-op conversion --- 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