Skip to content

Commit

Permalink
Merge branch 'master' of github.com:/GenTiradentes/tinyvm
Browse files Browse the repository at this point in the history
  • Loading branch information
jakogut committed Sep 8, 2011
2 parents 6fb039d + 93adee0 commit af72240
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SYNTAX
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ using a base identifier, or 100000|b for binary using a base identifer.
// 1. REGISTERS ////////////////////////////////// // 1. REGISTERS //////////////////////////////////
////////////////////////////////////////////////// //////////////////////////////////////////////////


TVM has 9 registers, modeled after x86 registers TVM has 17 registers, modeled after x86 registers.
Register names are written lower-case.


(EAX - EDX, General Purpose) (EAX - EDX, General Purpose)
EAX EAX
Expand All @@ -48,6 +49,8 @@ EBP - Base pointer, points to the base of the stack


EIP - Instruction pointer, this is modified with the jump commands, never directly EIP - Instruction pointer, this is modified with the jump commands, never directly


R08 - R15, General Purpose

////////////////////////////////////////////////// //////////////////////////////////////////////////
// 2. MEMORY ///////////////////////////////////// // 2. MEMORY /////////////////////////////////////
////////////////////////////////////////////////// //////////////////////////////////////////////////
Expand Down

0 comments on commit af72240

Please sign in to comment.