mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Re-adding toy subregisters after fixes applied to merge of GP-134.
This commit is contained in:
parent
d807f56354
commit
ae83715648
1 changed files with 19 additions and 0 deletions
|
@ -30,3 +30,22 @@ define register offset=0x1100 size=1 [
|
|||
C Z N V
|
||||
];
|
||||
|
||||
|
||||
@if SIZE == "4"
|
||||
@define HALFSIZE "2"
|
||||
@endif
|
||||
@if SIZE == "8"
|
||||
@define HALFSIZE "4"
|
||||
@endif
|
||||
|
||||
@if ENDIAN == "little"
|
||||
define register offset=0x1000 size=$(HALFSIZE) [
|
||||
r0l r0h r1l r1h r2l r2h r3l r3h r4l r4h r5l r5h r6l r6h r7l r7h
|
||||
r8l r8h r9l r9h r10l r10h r11l r1lh r12l r12h spl sph lrl lrh pcl pch
|
||||
];
|
||||
@else # ENDIAN == "big"
|
||||
define register offset=0x1000 size=$(HALFSIZE) [
|
||||
r0h r0l r1h r1l r2h r2l r3h r3l r4h r4l r5h r5l r6h r6l r7h r7l
|
||||
r8h r8l r9h r9l r10h r10l r11h r1ll r12h r12l sph spl lrh lrl pch pcl
|
||||
];
|
||||
#endif # ENDIAN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue