Commit Graph

11 Commits

Author SHA1 Message Date
Michael Munday
5887962b0e Add assembly for decoding instructions.
Still guessing at this point. This code will need to be changed.
2016-11-23 18:02:00 -05:00
Michael Munday
dbf789536c Fix stack frame layout.
f8-f15 are callee-saved (not f0,f2,f4 and f6). There isn't space
for them in the caller's stack frame so we need to increase the
size of the interpreter's stack frame.
2016-11-23 17:30:10 -05:00
Michael Munday
5a69b4638a Fixup the save/restore register macros.
I believe these macros obey the C calling convention, so we need to
allocate our stack frame and save all callee-save registers. We
can tune it later if it turns out we don't need all the registers.
2016-11-22 13:58:10 -05:00
Michael Munday
d505a0e0ba Cleanup. 2016-11-22 13:47:35 -05:00
Michael Munday
d50f8aa92b Add preliminary frame offsets.
These are educated guesses at this point. We might need more stack space because
we don't have many free registers available.
2016-11-22 13:36:46 -05:00
ketank-new
31c0e6016a Update vm_s390x.dasc
Added definitions to macros savereg and restreg
used Store and Load instructions 
to store and load register contents to n from memory
2016-11-22 10:20:56 +05:30
Michael Munday
e90d985d08 Look for s390x file rather than S390x file. 2016-11-18 13:06:31 -05:00
ketank-new
3ac644ecee Update vm_s390x.dasc
Assigned general purpose register to existing macros
2016-11-18 17:09:20 +05:30
ketank-new
4aa1099d6a Update vm_s390x.dasc
Referred arm dasc file have created slots wherein i have to replace them with s390x registers and instructions
2016-11-17 14:58:17 +05:30
ketank-new
547b158ba4 Update vm_s390x.dasc
made some changes like mentioning arch from x86 to S390x
removed some x86 specific code
2016-11-16 15:34:32 +05:30
ketank-new
96afe3e331 Create vm_s390x.dasc
created vm_s390x.dasc file
its a copy of vm_x86.dasc
working on to change this specific to s390x
2016-11-15 10:42:11 +05:30