Ghidra is a software reverse engineering (SRE) framework
Re-adding toy subregisters after fixes applied to merge of GP-134.
Danae83715648fe
diff --git a/Ghidra/Processors/Toy/data/languages/toy.sinc b/Ghidra/Processors/Toy/data/languages/toy.sincindex 2601f72035..e57b3a0253 100644--- a/Ghidra/Processors/Toy/data/languages/toy.sinc+++ b/Ghidra/Processors/Toy/data/languages/toy.sinc@@ -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