diff options
| author | Nicolas DILLIES <dillies@yavin8.sta.academy.ctsi> | 2020-02-19 12:55:08 +0100 |
|---|---|---|
| committer | Nicolas DILLIES <dillies@yavin8.sta.academy.ctsi> | 2020-02-19 12:55:08 +0100 |
| commit | 1297188fcaf80b84b46634b6b35248a415a0fa83 (patch) | |
| tree | 18fb92afe1fc346cc30c1dea0b49f6773cb83bca | |
| parent | 84f49cf43bfef8b17810f12aa4c5782ee40c3e16 (diff) | |
| download | miasm-1297188fcaf80b84b46634b6b35248a415a0fa83.tar.gz miasm-1297188fcaf80b84b46634b6b35248a415a0fa83.zip | |
Modification of the SR subregisters offsets
| -rw-r--r-- | miasm/jitter/arch/JitCore_msp430.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/miasm/jitter/arch/JitCore_msp430.c b/miasm/jitter/arch/JitCore_msp430.c index 2bb51c68..86e082ad 100644 --- a/miasm/jitter/arch/JitCore_msp430.c +++ b/miasm/jitter/arch/JitCore_msp430.c @@ -33,12 +33,12 @@ reg_dict gpreg_dict[] = { {.name = "PC", .offset = offsetof(struct vm_cpu, PC)}, {.name = "of", .offset = offsetof(struct vm_cpu, of)}, {.name = "cf", .offset = offsetof(struct vm_cpu, cf)}, - {.name = "cpuoff", .offset = offsetof(struct vm_cpu, zf)}, - {.name = "gie", .offset = offsetof(struct vm_cpu, zf)}, - {.name = "osc", .offset = offsetof(struct vm_cpu, zf)}, - {.name = "scg0", .offset = offsetof(struct vm_cpu, zf)}, - {.name = "scg1", .offset = offsetof(struct vm_cpu, zf)}, - {.name = "res", .offset = offsetof(struct vm_cpu, zf)}, + {.name = "cpuoff", .offset = offsetof(struct vm_cpu, cpuoff)}, + {.name = "gie", .offset = offsetof(struct vm_cpu, gie)}, + {.name = "osc", .offset = offsetof(struct vm_cpu, osc)}, + {.name = "scg0", .offset = offsetof(struct vm_cpu, scg0)}, + {.name = "scg1", .offset = offsetof(struct vm_cpu, scg1)}, + {.name = "res", .offset = offsetof(struct vm_cpu, res)}, }; |