Skip to content

Commit

Permalink
Added CSHORT and new constant section
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Zbinden committed Oct 1, 2014
1 parent 4bc9d34 commit 5ad04ad
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Bytecode Spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,30 @@ Clojure Bytecode Spec
- Constant String Table
- Constant Keyword Table

## Constant Value Operation
## Constant Table Value Operation

OP A D

CSTR dst str
CKEY dst keyword
CINT dst int
CFLOAT dst float


Reads D from const. table (if required) and writes it into destination slot A.


## Constant Value Operation

OP A D

CBOOL dst bool
CNIL dst nil
CSHORT dst lits

Set A to 16 bit signed integer D


Reads D from const. table (if required) and writes it into destination slot A.

## Global Table Ops

Expand Down

0 comments on commit 5ad04ad

Please sign in to comment.