The Structure of I-Code: Difference between revisions
Jump to navigation
Jump to search
| Line 6: | Line 6: | ||
{| | {| | ||
|- | |- | ||
! align="left"|Vector | ! align="left"|Vector<ref name=arraytypes> | ||
| ||1 Dimensional Array | | ||1 Dimensional Array | ||
|- | |- | ||
! align="left"|Table | ! align="left"|Table<ref name=arraytypes> | ||
| ||2 Dimensional Array | | ||2 Dimensional Array | ||
|- | |- | ||
! align="left"|Matrix | ! align="left"|Matrix<ref name=arraytypes> | ||
| ||3 Dimensional Array | | ||3 Dimensional Array | ||
|- | |- | ||
Revision as of 20:17, 18 September 2013
The 'I' in I-Code stands for Intermediate. Intermediate code is code that is a step between interpreted source statements and fully compiled machine code. Typically, intermediate code uses tokens to represent the instructions to be executed. Basic09 I-Code goes a step further by re-arranging the source code instructions in post-fix notation (also known as Reverse Polish Notation) order.
The tokens used by Basic09 are a single byte ranging from $00 to $FF. See I-Code Token List
Terms Used
VectorCite error: Closing </ref> missing for <ref> tag
1. The terms Vector, Table and Matrix, as used to describe the arrays, is defined in the Microware OS-9 Basic User Manual (for OS-9/68000, (c)1991), Chapter 3: Program Construction: Complex Data Types and Subroutines on page 3-1. |
|---|