This commit is contained in:
2026-05-21 05:23:29 +05:30
commit 0b8e3bdd1d
8 changed files with 148 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
PRESERVE8
THUMB
AREA |.text|, CODE, READONLY
EXPORT __main
__main
LDR R0,=0xFFC0FFFF
LSLS R0,R0,(#32-8-16) ;(32-W-P)
LSRS R0,R0,(#32-W) ;(32-W)
LDR R0,=0XFFC0FFFF
MOVS R1, #16 ; #P
MOVS R2, #8 ;W
MOVS R3, #(32-8-16) ;(32-W-P)
RORS R0,R0,R1
LSRS R0,R0,R2
RORS R0,R0,R3
STOP
B STOP
END