mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
25 lines
498 B
Text
25 lines
498 B
Text
# Main slaspec must define endianness and alignment
|
|
|
|
@ifndef WORDSIZE
|
|
@define WORDSIZE "1"
|
|
@endif
|
|
|
|
define space ROM type=ram_space size=$(SIZE) wordsize=$(WORDSIZE) default;
|
|
|
|
define space register type=register_space size=2;
|
|
|
|
define register offset=0x1000 size=$(SIZE) [
|
|
a0 a1 a2 a3 a4 a5 a6 a7
|
|
a8 a9 a10 a11 a12 sp lr pc
|
|
];
|
|
|
|
# STATUS REGISTER MAP: (LOW)
|
|
# C - CARRY
|
|
# Z - ZERO
|
|
# N - NEGATIVE
|
|
# V - OVERFLOW
|
|
|
|
define register offset=0x1100 size=1 [
|
|
C Z N V
|
|
];
|
|
|