diff options
Diffstat (limited to 'vm/mterp/armv5te/stub.S')
-rw-r--r-- | vm/mterp/armv5te/stub.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/mterp/armv5te/stub.S b/vm/mterp/armv5te/stub.S new file mode 100644 index 0000000..54f0778 --- /dev/null +++ b/vm/mterp/armv5te/stub.S @@ -0,0 +1,8 @@ + /* (stub) */ + SAVE_PC_FP_TO_GLUE() @ only need to export these two + mov r0, rGLUE @ glue is first arg to function + bl dvmMterp_${opcode} @ call + LOAD_PC_FP_FROM_GLUE() @ retrieve updated values + FETCH_INST() @ load next instruction from rPC + GET_INST_OPCODE(ip) @ ...trim down to just the opcode + GOTO_OPCODE(ip) @ ...and jump to the handler |