-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogress_log.txt
49 lines (38 loc) · 1.02 KB
/
progress_log.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Author: David Gutsch
Date: 9/9/2018
16 bit instructions decoded:
- adds
- add (BUG)
- subs
- adds imm3
- subs imm3
- adds imm8
- subs imm8
- cmps imm8
- movs imm8
- mov rd rm
- movs rd rm
- str register
- strh register
- strb register
- ldrsb register
- ldr register
- ldrh register
- ldrb register
- ldrsh register
- bx
- blx
32 bit instructions decoded:
bugs:
(add) - when rdn and rm are less than r8 the add instruction get's
32-bit encoded. for example:
add r0, r3 <-- gets 32-bit encoded
add r5, r7 <-- gets 32-bit encoded
add r0, r1 <-- gets 32-bit encoded
add r0, r12 <-- gets 16-bit encoded (correctly)
add r3, r15 <-- gets 16-bit encoded (correctly)
(str rt [rn, imm8]) - some instructions being 32-bit encoded. and
16-bit encoded istructions are being dumped to the hex file
with incorrect imm8 bit values.
(str rt [rn, #imm5]) - some instructions are being 32-bit encoded. and 16-bit encoded instructions
do not have the correct imm5 values.