You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
166 lines
4.3 KiB
Scilab
166 lines
4.3 KiB
Scilab
3 years ago
|
|
||
|
* arci v.0.0001
|
||
|
* -----------------------------------------------------------------------------------------
|
||
|
* Generated: Nov 20 2021 10:53:39 PM GMT
|
||
|
*
|
||
|
|
||
|
* Initialization
|
||
|
|
||
|
R CIA 00120000
|
||
|
R CR 00000000 * F0:0 F1:0 F2:0 F3:0 F4:0 F5:0 F6:0 F7:0
|
||
|
R XER 00000000
|
||
|
R CTR F0000000
|
||
|
R LR 00000000
|
||
|
R TAR 00000000
|
||
|
R R00 00000000 * 0
|
||
|
R R01 00000000 * 0
|
||
|
R R02 00000000 * 0
|
||
|
R R03 00000000 * 0
|
||
|
R R04 00000000 * 0
|
||
|
R R05 00000000 * 0
|
||
|
R R06 00000000 * 0
|
||
|
R R07 00000000 * 0
|
||
|
R R08 00000000 * 0
|
||
|
R R09 00000000 * 0
|
||
|
R R10 00000000 * 0
|
||
|
R R11 00000000 * 0
|
||
|
R R12 00000000 * 0
|
||
|
R R13 00000000 * 0
|
||
|
R R14 00000000 * 0
|
||
|
R R15 00000000 * 0
|
||
|
R R16 00000000 * 0
|
||
|
R R17 00000000 * 0
|
||
|
R R18 00000000 * 0
|
||
|
R R19 00000000 * 0
|
||
|
R R20 00000000 * 0
|
||
|
R R21 00000000 * 0
|
||
|
R R22 00000000 * 0
|
||
|
R R23 00000000 * 0
|
||
|
R R24 00000000 * 0
|
||
|
R R25 00000000 * 0
|
||
|
R R26 00000000 * 0
|
||
|
R R27 00000000 * 0
|
||
|
R R28 00000000 * 0
|
||
|
R R29 00000000 * 0
|
||
|
R R30 00000000 * 0
|
||
|
R R31 00000000 * 0
|
||
|
|
||
|
* Instructions
|
||
|
|
||
|
I 00120000 addi r3,r3,1
|
||
|
R R03 00000001 * 1
|
||
|
R CIA 00120004
|
||
|
|
||
|
I 00120004 addi r3,r3,1
|
||
|
R R03 00000002 * 2
|
||
|
R CIA 00120008
|
||
|
|
||
|
I 00120008 addi r3,r3,1
|
||
|
R R03 00000003 * 3
|
||
|
R CIA 0012000C
|
||
|
|
||
|
I 0012000C addi r4,r0,-3
|
||
|
R R04 FFFFFFFD * 4294967293 -3
|
||
|
R CIA 00120010
|
||
|
|
||
|
I 00120010 add. r4,r4,r3
|
||
|
R R04 00000000 * 0
|
||
|
R CR 20000000 * F0:2 F1:0 F2:0 F3:0 F4:0 F5:0 F6:0 F7:0
|
||
|
R CIA 00120014
|
||
|
|
||
|
I 00120014 addi r6,r0,10
|
||
|
R R06 0000000A * 10
|
||
|
R CIA 00120018
|
||
|
|
||
|
I 00120018 addi r7,r0,-5
|
||
|
R R07 FFFFFFFB * 4294967291 -5
|
||
|
R CIA 0012001C
|
||
|
|
||
|
I 0012001C divw r8,r6,r7
|
||
|
R R08 FFFFFFFE * 4294967294 -2
|
||
|
R CIA 00120020
|
||
|
|
||
|
I 00120020 divw. r9,r6,r7
|
||
|
R R09 FFFFFFFE * 4294967294 -2
|
||
|
R CR 80000000 * F0:8 F1:0 F2:0 F3:0 F4:0 F5:0 F6:0 F7:0
|
||
|
R CIA 00120024
|
||
|
|
||
|
I 00120024 mfcr r31
|
||
|
R R31 80000000 * 2147483648 -2147483648
|
||
|
R CIA 00120028
|
||
|
|
||
|
I 00120028 divw. r10,r7,r6
|
||
|
R R10 FFFFFFFF * 4294967295 -1
|
||
|
R CR 80000000 * F0:8 F1:0 F2:0 F3:0 F4:0 F5:0 F6:0 F7:0
|
||
|
R CIA 0012002C
|
||
|
|
||
|
I 0012002C mfcr r30
|
||
|
R R30 80000000 * 2147483648 -2147483648
|
||
|
R CIA 00120030
|
||
|
|
||
|
I 00120030 divw. r11,r6,r6
|
||
|
R R11 00000001 * 1
|
||
|
R CR 40000000 * F0:4 F1:0 F2:0 F3:0 F4:0 F5:0 F6:0 F7:0
|
||
|
R CIA 00120034
|
||
|
|
||
|
I 00120034 mfcr r30
|
||
|
R R30 40000000 * 1073741824
|
||
|
R CIA 00120038
|
||
|
|
||
|
|
||
|
* Results (Changed)
|
||
|
|
||
|
R CIA 00120038
|
||
|
R CR 40000000 * F0:4 F1:0 F2:0 F3:0 F4:0 F5:0 F6:0 F7:0
|
||
|
R R03 00000003 * 3
|
||
|
R R04 00000000 * 0
|
||
|
R R06 0000000A * 10
|
||
|
R R07 FFFFFFFB * 4294967291 -5
|
||
|
R R08 FFFFFFFE * 4294967294 -2
|
||
|
R R09 FFFFFFFE * 4294967294 -2
|
||
|
R R10 FFFFFFFF * 4294967295 -1
|
||
|
R R11 00000001 * 1
|
||
|
R R30 40000000 * 1073741824
|
||
|
R R31 80000000 * 2147483648 -2147483648
|
||
|
|
||
|
* Results
|
||
|
|
||
|
R CIA 00120038
|
||
|
R CR 40000000 * F0:4 F1:0 F2:0 F3:0 F4:0 F5:0 F6:0 F7:0
|
||
|
R XER 00000000
|
||
|
R CTR F0000000
|
||
|
R LR 00000000
|
||
|
R TAR 00000000
|
||
|
R R00 00000000 * 0
|
||
|
R R01 00000000 * 0
|
||
|
R R02 00000000 * 0
|
||
|
R R03 00000003 * 3
|
||
|
R R04 00000000 * 0
|
||
|
R R05 00000000 * 0
|
||
|
R R06 0000000A * 10
|
||
|
R R07 FFFFFFFB * 4294967291 -5
|
||
|
R R08 FFFFFFFE * 4294967294 -2
|
||
|
R R09 FFFFFFFE * 4294967294 -2
|
||
|
R R10 FFFFFFFF * 4294967295 -1
|
||
|
R R11 00000001 * 1
|
||
|
R R12 00000000 * 0
|
||
|
R R13 00000000 * 0
|
||
|
R R14 00000000 * 0
|
||
|
R R15 00000000 * 0
|
||
|
R R16 00000000 * 0
|
||
|
R R17 00000000 * 0
|
||
|
R R18 00000000 * 0
|
||
|
R R19 00000000 * 0
|
||
|
R R20 00000000 * 0
|
||
|
R R21 00000000 * 0
|
||
|
R R22 00000000 * 0
|
||
|
R R23 00000000 * 0
|
||
|
R R24 00000000 * 0
|
||
|
R R25 00000000 * 0
|
||
|
R R26 00000000 * 0
|
||
|
R R27 00000000 * 0
|
||
|
R R28 00000000 * 0
|
||
|
R R29 00000000 * 0
|
||
|
R R30 40000000 * 1073741824
|
||
|
R R31 80000000 * 2147483648 -2147483648
|