Symbolics Ivory Macroinstruction Set Lexicon
This document provides a comprehensive technical lexicon of the instruction set architecture for the Symbolics Ivory processor (I-Machine). It is derived from the I-Machine Architecture Specification (Chapter 3 and Appendix F), cross-referenced with canonical Genera 8.3 compiler sources (genera-original/sys.sct/i-sys/opdef.lisp, genera-original/sys.sct/i-compiler/disassemble.lisp, and genera-original/sys.sct/i-compiler/i-instruction-set.lisp, local-only when present), and the from-scratch C11 emulator (emu/include/ivory_hw.h and Volume 2: ISA & Execution Semantics).
1. Instruction Formats & Word Packing
Ivory instructions are represented in 40-bit tagged words:
- Bits
<39:38>: CDR Code (controls instruction sequencing and prefetching). - Bits
<37:32>: Data Type tag (DTP). - Bits
<31:0>: Instruction payload, target address, or packed halfwords.
+----------+------------+-------------------------------------------------------+
| CDR (2) | DTP (6) | Payload / Address / Packed Instructions (32) |
+----------+------------+-------------------------------------------------------+
39 38 37 32 31 0
1.1 Instruction Classes
Full-Word Call Instructions (
0o50..0o57): Contains a single instruction initiating a function call. The 32-bit payload directly specifies the function or entry target address.0o50:CallCompiledEven0o51:CallCompiledOdd0o52:CallIndirect0o53:CallGeneric0o54:CallCompiledEvenPrefetch0o55:CallCompiledOddPrefetch0o56:CallIndirectPrefetch0o57:CallGenericPrefetch
Full-Word Entry Instructions: Special
dtp-packed-instructionword at function entry encoding required, optional, and rest argument bounds.Full-Word Constants & Value Cells: Any standard Lisp object reference encountered in the instruction stream with tag
< 0o50is treated as an immediate constant pushed directly onto the control stack (e.g.dtp-fixnum,dtp-symbol,dtp-list,dtp-character).dtp-external-value-cell-pointerfetches and pushes the contents of the addressed cell.Packed Half-Word Instructions (
0o60..0o77): The primary execution format. Each 40-bit word contains two 18-bit instructions:- Even Halfword: Bits
<17:0>of the 32-bit data field. - Odd Halfword: Bits
<35:18>(((tag & 0o17) << 14) | ((data >> 18) & 0x3FFF)).
- Even Halfword: Bits
39 38 37 36 35 18 17 0
+-----+--------+------------------------------------+------------------------------------+
| CDR | DTP-PI | Even Instruction (18b) | Odd Instruction (18b) |
+-----+--------+------------------------------------+------------------------------------+
1.2 CDR-Code Instruction Sequencing
The 2-bit CDR code of an instruction word controls program counter (PC) progression:
| CDR Code | Binary | Name | PC Increment | Behavioral Semantics |
|---|---|---|---|---|
0 | 00_2 | cdr-next | +1 | Normal straightline execution (Even \(\rightarrow\) Odd \(\rightarrow\) next word Even). |
1 | 01_2 | cdr-nil | Illegal | Execution fence; marks the end of a compiled function. Traps if executed. |
2 | 10_2 | cdr-normal | -1 | Used on constants following an even instruction to adjust PC back. |
3 | 11_2 | cdr-jump | +2 / +3 | Prefetch/constant skip: skips trailing constant words without requiring a NoOp; marks single Even-only halfword execution. |
1.3 Canonical Compiler Definitions (opdef.lisp & disassemble.lisp)
The ground truth for all Ivory macroinstructions is defined in the Genera 8.3 compiler source tree (local-only when present):
genera-original/sys.sct/i-sys/opdef.lisp:
Every opcode is declared using theDEFOPCODEmacro:(DEFOPCODE symbolic-opcode opcode-number (n-args n-returned (legal operands)) . options)- Legal operand specifiers:
lp,fp,sp,pop,signed,unsigned,12-bit-immediate-unsigned,10-bit-immediate,byte,relative-pc,entry. - Stack & register behavior options:
:needs-tos: Requires Top-Of-Stack operand.:clobbers-tos: Overwrites or consumes Top-Of-Stack.:tos-unchanged: Top-Of-Stack is untouched.:needs-lp: Requires Local-Pointer access.:function <name>: Maps instruction to corresponding Lisp runtime subroutine.
- Legal operand specifiers:
genera-original/sys.sct/i-compiler/disassemble.lisp:
Canonical disassembler instruction format strings, halfword decoding logic, and operand formatting rules.genera-original/sys.sct/i-compiler/i-instruction-set.lisp:
Compiler instruction database and attribute tables.
2. Half-Word Addressing Modes & Operand Formats
Each 18-bit halfword instruction is divided into an 8-bit opcode field, a 2-bit addressing mode field, and an 8-bit offset or immediate field:
17 10 9 8 7 0
+-------------+-----+----------------------------------------+
| Opcode (8b) | Mode| Operand Specifier (8b) |
+-------------+-----+----------------------------------------+
2.1 Addressing Modes
Bits <9:8> select one of four primary hardware addressing modes:
| Mode Bits | Mode Name | Syntax | Effective Address / Value |
|---|---|---|---|
00_2 (0) | Frame Pointer | FP[n] | References argument / frame slot at FP + n (\(0 \le n \le 255\)). |
01_2 (1) | Local Pointer | LP[n] | References local variable at LP + n (\(0 \le n \le 255\)). |
10_2 (2) | Stack / POP | POP or SP[-n] | If \(n = 0\): POP (pops top of stack, auto-decrementing SP).If \(n > 0\): SP[n - 255] (indexed stack offset relative to SP). |
11_2 (3) | Immediate / Dest | IMM[n] / DEST[d] | For branch instructions: 10-bit signed branch displacement. For other instructions: 8-bit unsigned/signed immediate value. |
2.2 Compiler Operand Classifications (opdef.lisp & i-defs.lisp)
In the OpenGenera compiler database, instructions declare valid operand formats in defopcode:
fp: Frame pointer relative offset (\(0..255\)).lp: Local pointer relative offset (\(0..255\)).sp: Stack pointer relative offset (\(0..255\)).pop: Stack top pop (spwith offset 0).signed: 8-bit signed two's-complement immediate value (sign-extended to 32 bits).unsigned: 8-bit unsigned immediate value (zero-extended to 32 bits).10-bit-immediate: Spans bits<9:0>(mode bits<9:8>combined with offset<7:0>), providing values \(0..1023\).12-bit-unsigned-immediate: Used exclusively byTypeMemberinstructions (0o040..0o047) to encode a 12-bit data type set bitmask.relative-pc: 10-bit signed PC-relative halfword displacement (values \(-512..+511\)).byte: 10-bit byte specifier encoding field size and bit position forLdbandDpb.entry: Argument specification descriptor for compiled function entry words.
2.3 Specialized Instruction Operand Layouts
Finish-Call Operands (FinishCallN, FinishCallTos)
The 10-bit immediate operand field encodes:
- Bits
<7:0>(n-args-+1): Number of arguments passed + 1. - Bits
<9:8>(disposition): Value disposition of call results:0:value-disposition-effect(discard result)1:value-disposition-value(push single value to stack)2:value-disposition-return(return value directly from current function)3:value-disposition-multiple(multiple return values)
Catch-Open Operand (CatchOpen, 0o376)
The operand field encodes:
- Bit
<0>:unwind-protect-pflag (\(1\) forunwind-protect, \(0\) for normalcatch). - Bits
<7:6>:value-disposition(effect, value, return, multiple).
Byte Field Specifiers (Ldb, Dpb, CharLdb, CharDpb, %PLdb, %PDpb)
The 10-bit operand encodes:
- Bits
<4:0>: Bit positionpp(for load instructions, converted as \(32 - pp\)). - Bits
<9:5>: Field size \(ss - 1\) (\(1..32\) bits).
3. Categorical Instruction Lexicon
All opcode values below are given in standard Octal (matching opdef.lisp and emu/include/ivory_hw.h).
Opcode attributes from the compiler database:
:needs-tos: Top of stack must contain valid operand.:clobbers-tos: Overwrites or consumes top of stack operand.:tos-unchanged: Leaves TOS intact while modifying memory / registers.:needs-lp: Local pointer register must be active / valid.:smashes-lp: Modifies or invalidates LP register.
3.1 List Operations
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o000 | Car | car | ( x -- car ) | lp fp sp pop | Reads CAR of cons cell x; resolves forwarding pointers and CDR codes. |
0o001 | Cdr | cdr | ( x -- cdr ) | lp fp sp pop | Reads CDR of cons cell x; respects cdr-next, cdr-normal, cdr-nil. |
0o140 | SetToCar | set-to-car | ( loc -- ) | lp fp sp | In-place replacement: updates slot loc with its CAR (:tos-unchanged). |
0o141 | SetToCdr | set-to-cdr | ( loc -- ) | lp fp sp | In-place replacement: updates slot loc with its CDR (:tos-unchanged). |
0o142 | SetToCdrPushCar | set-to-cdr-push-car | ( loc -- car ) | lp fp sp | Replaces loc with its CDR and pushes original CAR onto stack. |
0o200 | Rplaca | rplaca | ( cons val -- cons ) | lp fp sp pop signed | Stores val into CAR of cons (:needs-tos :clobbers-tos). |
0o201 | Rplacd | rplacd | ( cons val -- cons ) | lp fp sp pop signed | Stores val into CDR of cons (:needs-tos :clobbers-tos). |
0o225 | Rgetf | rgetf | ( plist prop -- val ) | lp fp sp pop | Searches property list plist for indicator prop (:needs-tos). |
0o226 | Member | member | ( item list -- sublist ) | lp fp sp pop | Searches for item in list using eql (:needs-tos). |
0o227 | Assoc | assoc | ( item alist -- pair ) | lp fp sp pop | Searches association list alist for pair matching item (:needs-tos). |
3.2 Predicates & Comparisons
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o002 | Endp | endp | ( list -- bool ) | lp fp sp pop signed | Returns T if list is NIL, NIL if cons cell; traps if not list. |
0o034 | Zerop | zerop | ( x -- bool ) | lp fp sp pop signed | Tests if number x is zero (:needs-lp). |
0o035 | Minusp | minusp | ( x -- bool ) | lp fp sp pop signed | Tests if signed number x is negative (:needs-lp). |
0o036 | Plusp | plusp | ( x -- bool ) | lp fp sp pop signed | Tests if signed number x is strictly positive (:needs-lp). |
0o040 .. 0o043 | TypeMember0..3 | type-member | ( x -- bool ) | 12-bit-unsigned-immediate | Tests if x's DTP tag matches bitmask encoded in immediate. |
0o044 .. 0o047 | TypeMemberNoPop0..3 | type-member-no-pop | ( x -- x bool ) | 12-bit-unsigned-immediate | Bitmask type test retaining operand x on stack. |
0o260 | EqualNumber | equal-number | ( a b -- bool ) | lp fp sp pop signed | Numeric equality comparison (=) (:needs-tos :needs-lp). |
0o261 | Lessp | lessp | ( a b -- bool ) | lp fp sp pop signed | Numeric less than (<) (:needs-tos :needs-lp). |
0o262 | Greaterp | greaterp | ( a b -- bool ) | lp fp sp pop signed | Numeric greater than (>) (:needs-tos :needs-lp). |
0o263 | Eql | eql | ( a b -- bool ) | lp fp sp pop signed | Standard Common Lisp eql equivalence (:needs-tos). |
0o264 | EqualNumberNoPop | equal-number-no-pop | ( a b -- a bool ) | lp fp sp pop signed | Numeric equality comparison retaining operand a on stack. |
0o265 | LesspNoPop | lessp-no-pop | ( a b -- a bool ) | lp fp sp pop signed | Numeric less than retaining operand a on stack. |
0o266 | GreaterpNoPop | greaterp-no-pop | ( a b -- a bool ) | lp fp sp pop signed | Numeric greater than retaining operand a on stack. |
0o267 | EqlNoPop | eql-no-pop | ( a b -- a bool ) | lp fp sp pop signed | Standard eql retaining operand a on stack. |
0o270 | Eq | eq | ( a b -- bool ) | lp fp sp pop signed | Pointer identity check (eq) (:needs-tos). |
0o273 | Logtest | logtest | ( a b -- bool ) | lp fp sp pop signed | Tests if (logand a b) /= 0 (:needs-tos). |
0o274 | EqNoPop | eq-no-pop | ( a b -- a bool ) | lp fp sp pop signed | Pointer identity check retaining operand a on stack. |
0o277 | LogtestNoPop | logtest-no-pop | ( a b -- a bool ) | lp fp sp pop signed | Tests (logand a b) /= 0 retaining operand a on stack. |
0o331 | UnsignedLessp | %unsigned-lessp | ( a b -- bool ) | lp fp sp pop unsigned | 32-bit unsigned magnitude comparison (<) (:needs-tos). |
0o335 | UnsignedLesspNoPop | %unsigned-lessp-no-pop | ( a b -- a bool ) | lp fp sp pop unsigned | 32-bit unsigned comparison retaining operand a on stack. |
3.3 Control Flow, Branches & Loops
Branch instructions use Mode 3 with a 10-bit signed PC-relative halfword displacement:
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Condition | Description |
|---|---|---|---|---|
0o011 | Jump | %jump | Pops TOS | Unconditional indirect jump to address on stack. |
0o060 | BranchTrue | branch-true | Pops TOS | Branch if TOS is not NIL. |
0o061 | BranchTrueElseExtraPop | branch-true-else-extra-pop | Pops TOS | If true branch; if false pop extra stack element. |
0o062 | BranchTrueAndExtraPop | branch-true-and-extra-pop | Pops TOS | If true branch and pop extra stack element. |
0o063 | BranchTrueExtraPop | branch-true-extra-pop | Pops TOS | Always pops extra stack element; branches if true. |
0o064 | BranchTrueNoPop | branch-true-no-pop | Peeks TOS | Branch if true without popping TOS. |
0o065 | BranchTrueAndNoPop | branch-true-and-no-pop | Cond Pop | If true branch and keep TOS; if false pop TOS. |
0o066 | BranchTrueElseNoPop | branch-true-else-no-pop | Cond Pop | If true branch and pop TOS; if false keep TOS. |
0o067 | BranchTrueAndNoPopElseNoPopExtraPop | branch-true-and-no-pop-else-no-pop-extra-pop | Cond Pop | Complex condition branch for boolean short-circuits. |
0o070 | BranchFalse | branch-false | Pops TOS | Branch if TOS is NIL. |
0o071 | BranchFalseElseExtraPop | branch-false-else-extra-pop | Pops TOS | If false branch; if true pop extra stack element. |
0o072 | BranchFalseAndExtraPop | branch-false-and-extra-pop | Pops TOS | If false branch and pop extra stack element. |
0o073 | BranchFalseExtraPop | branch-false-extra-pop | Pops TOS | Always pops extra stack element; branches if false. |
0o074 | BranchFalseNoPop | branch-false-no-pop | Peeks TOS | Branch if false without popping TOS. |
0o075 | BranchFalseAndNoPop | branch-false-and-no-pop | Cond Pop | If false branch and keep TOS; if true pop TOS. |
0o076 | BranchFalseElseNoPop | branch-false-else-no-pop | Cond Pop | If false branch and pop TOS; if true keep TOS. |
0o077 | BranchFalseAndNoPopElseNoPopExtraPop | branch-false-and-no-pop-else-no-pop-extra-pop | Cond Pop | Complex false branch for boolean short-circuits. |
0o174 | Branch | branch | None | Unconditional relative branch (:unconditional-branch). |
0o175 | LoopDecrementTos | loop-decrement-tos | In-place | Decrements Fixnum TOS; branches if \(\ge 0\) (:loop). |
0o375 | LoopIncrementTosLessThan | loop-increment-tos-less-than | In-place | Increments Fixnum TOS; branches if less than limit (:loop :needs-tos). |
3.4 Stack Frame, Local & Lexical Variables
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o020 .. 0o027 | PushLexicalVar0..7 | push-lexical-var | ( -- val ) | lp fp sp pop | Pushes lexical variable from lexical frame 0..7. |
0o100 | Push | push | ( src -- val ) | lp fp sp pop unsigned | Pushes operand src onto top of control stack. |
0o101 | PushNNils | push-n-nils | ( -- nil*n ) | unsigned | Pushes n consecutive NIL words onto stack. |
0o102 | PushAddressSpRelative | push-address-sp-relative | ( -- loc ) | lp fp sp pop unsigned | Computes locative address of an SP slot and pushes it. |
0o150 | PushAddress | push-address | ( loc -- loc ) | lp fp sp | Pushes the locative address of the operand. |
0o151 | SetSpToAddress | set-sp-to-address | ( loc -- ) | lp fp sp | Sets stack pointer directly to specified address. |
0o152 | SetSpToAddressSaveTos | set-sp-to-address-save-tos | ( loc -- ) | lp fp sp | Sets SP to address while preserving top data word. |
0o224 | StackBlt | stack-blt | ( from to n -- ) | lp fp sp pop signed | Block copies stack slots (:needs-tos). |
0o240 .. 0o247 | PopLexicalVar0..7 | pop-lexical-var | ( val -- ) | lp fp sp pop | Pops TOS into lexical frame slot 0..7 (:clobbers-tos). |
0o250 .. 0o257 | MovemLexicalVar0..7 | movem-lexical-var | ( val -- val ) | lp fp sp pop | Copies TOS into lexical frame slot 0..7 without popping. |
0o340 | Pop | pop | ( val -- ) | lp fp sp | Stores popped TOS into destination operand (:needs-tos). |
0o341 | Movem | movem | ( val -- val ) | lp fp sp | Stores TOS into destination operand without popping. |
0o352 | StackBltAddress | stack-blt-address | ( from to n -- ) | lp fp sp | Stack block copy using explicit locative addresses (:needs-tos). |
3.5 Instance Variables & Structure Access
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o110 | PushInstanceVar | push-instance-variable | ( -- val ) | unsigned | Pushes unordered instance variable from self. |
0o111 | PushAddressInstanceVar | push-address-instance-variable | ( -- loc ) | unsigned | Pushes locative of unordered instance variable. |
0o112 | PushInstanceVarOrdered | push-instance-variable-ordered | ( -- val ) | unsigned | Pushes ordered instance variable by slot index. |
0o113 | PushAddressInstanceVarOrdered | push-address-instance-variable-ordered | ( -- loc ) | unsigned | Pushes locative of ordered instance variable slot. |
0o320 | PopInstanceVar | pop-instance-variable | ( val -- ) | unsigned | Stores popped TOS into unordered instance variable (:clobbers-tos). |
0o321 | MovemInstanceVar | movem-instance-variable | ( val -- val ) | unsigned | Stores TOS into unordered instance variable. |
0o322 | PopInstanceVarOrdered | pop-instance-variable-ordered | ( val -- ) | unsigned | Stores popped TOS into ordered instance slot (:clobbers-tos). |
0o323 | MovemInstanceVarOrdered | movem-instance-variable-ordered | ( val -- val ) | unsigned | Stores TOS into ordered instance slot. |
0o324 | InstanceRef | %instance-ref | ( inst idx -- val ) | lp fp sp pop unsigned | Low-level instance slot reference (:needs-tos). |
0o325 | InstanceSet | %instance-set | ( val inst idx -- ) | lp fp sp pop unsigned | Low-level instance slot store (:needs-tos :clobbers-tos). |
0o326 | InstanceLoc | %instance-loc | ( inst idx -- loc ) | lp fp sp pop unsigned | Computes locative to instance slot (:needs-tos). |
3.6 Numeric & Bitwise Operations
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o016 | DoubleFloatOp | %double-float-op | ( op xhi xlo yhi ylo -- rhi rlo exc ) | lp fp sp pop unsigned | VLM (Rev 5) 64-bit double float hardware operation (:needs-tos). |
0o114 | UnaryMinus | unary-minus | ( x -- -x ) | lp fp sp pop unsigned | Negates number x (:needs-lp). |
0o143 | Increment | increment | ( loc -- ) | lp fp sp | Adds 1 to operand in place (:tos-unchanged). |
0o144 | Decrement | decrement | ( loc -- ) | lp fp sp | Subtracts 1 from operand in place (:tos-unchanged). |
0o202 | Multiply | multiply | ( a b -- prod ) | lp fp sp pop signed | Generic multiplication (*) (:needs-tos). |
0o203 | Quotient | quotient | ( a b -- quot ) | lp fp sp pop signed | Generic division (/) (:needs-tos). |
0o204 | Ceiling | ceiling | ( a b -- quot rem ) | lp fp sp pop signed | Ceiling division returning quotient and remainder (:needs-tos). |
0o205 | Floor | floor | ( a b -- quot rem ) | lp fp sp pop signed | Floor division returning quotient and remainder (:needs-tos). |
0o206 | Truncate | truncate | ( a b -- quot rem ) | lp fp sp pop signed | Truncating division returning quotient and remainder (:needs-tos). |
0o207 | Round | round | ( a b -- quot rem ) | lp fp sp pop signed | Rounding division returning quotient and remainder (:needs-tos). |
0o211 | RationalQuotient | rational-quotient | ( a b -- quot ) | lp fp sp pop signed | Exact rational quotient (:needs-tos). |
0o212 | Min | min | ( a b -- min ) | lp fp sp pop signed | Returns numeric minimum of a and b (:needs-tos). |
0o213 | Max | max | ( a b -- max ) | lp fp sp pop signed | Returns numeric maximum of a and b (:needs-tos). |
0o214 | Alu | %alu | ( a b -- res ) | lp fp sp pop signed | Raw hardware ALU arithmetic primitive (:needs-tos). |
0o215 | Logand | logand | ( a b -- res ) | lp fp sp pop signed | Bitwise logical AND (:needs-tos). |
0o216 | Logxor | logxor | ( a b -- res ) | lp fp sp pop signed | Bitwise logical XOR (:needs-tos). |
0o217 | Logior | logior | ( a b -- res ) | lp fp sp pop signed | Bitwise logical inclusive OR (:needs-tos). |
0o220 | Rot | rot | ( val n -- res ) | lp fp sp pop signed | 32-bit circular bit rotation (:needs-tos). |
0o221 | Lsh | lsh | ( val n -- res ) | lp fp sp pop signed | Logical bit shift by n bits (:needs-tos). |
0o222 | MultiplyDouble | %multiply-double | ( a b -- lo hi ) | lp fp sp pop signed | 32-bit \(\times\) 32-bit multiplication producing 64-bit product (:needs-tos). |
0o223 | LshcBignumStep | %lshc-bignum-step | ( a b c -- res ) | lp fp sp pop signed | Multi-precision bignum combined shift step (:needs-tos). |
0o232 | Ash | ash | ( val n -- res ) | lp fp sp pop signed | Arithmetic shift by n bits (:needs-tos). |
0o300 | Add | add | ( a b -- sum ) | lp fp sp pop unsigned | Generic addition (+) (:needs-tos :needs-lp). |
0o301 | Sub | sub | ( a b -- diff ) | lp fp sp pop unsigned | Generic subtraction (-) (:needs-tos :needs-lp). |
0o302 | 32BitPlus | %32-bit-plus | ( a b -- sum ) | lp fp sp pop unsigned | Modular 32-bit addition ignoring integer overflow (:needs-tos). |
0o303 | 32BitDifference | %32-bit-difference | ( a b -- diff ) | lp fp sp pop unsigned | Modular 32-bit subtraction ignoring overflow (:needs-tos). |
0o304 | AddBignumStep | %add-bignum-step | ( a b c -- sum carry ) | lp fp sp pop unsigned | Multi-precision bignum addition step (:needs-tos). |
0o305 | SubBignumStep | %sub-bignum-step | ( a b c -- diff borrow ) | lp fp sp pop unsigned | Multi-precision bignum subtraction step (:needs-tos). |
0o306 | MultiplyBignumStep | %multiply-bignum-step | ( a b -- prod-lo prod-hi ) | lp fp sp pop unsigned | Multi-precision bignum multiplication step (:needs-tos). |
0o307 | DivideBignumStep | %divide-bignum-step | ( hi lo div -- quot rem ) | lp fp sp pop unsigned | Multi-precision bignum division step (:needs-tos). |
3.7 Byte & Field Extraction
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o170 | Ldb | ldb | ( from -- val ) | byte | Loads bitfield defined by 10-bit position/width operand. |
0o171 | CharLdb | char-ldb | ( char -- val ) | byte | Extracts character subfield (code, bits, font). |
0o172 | PLdb | %p-ldb | ( loc -- val ) | byte | Pointer-indirect bitfield load from memory cell. |
0o173 | PTagLdb | %p-tag-ldb | ( loc -- tag ) | byte | Extracts 6-bit DTP tag of addressed memory word. |
0o370 | Dpb | dpb | ( val into -- res ) | byte | Deposits bitfield into word (:needs-tos). |
0o371 | CharDpb | char-dpb | ( val char -- res ) | byte | Deposits character subfield into character object (:needs-tos). |
0o372 | PDpb | %p-dpb | ( val loc -- ) | byte | Pointer-indirect deposit writing modified word to memory (:needs-tos :clobbers-tos). |
0o373 | PTagDpb | %p-tag-dpb | ( tag loc -- ) | byte | Updates 6-bit DTP tag of addressed memory word (:needs-tos :clobbers-tos). |
3.8 Array & String Operations
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o003 | Setup1DArray | setup-1d-array | ( arr -- ) | lp fp sp pop signed | Preloads 1D array descriptor into hardware registers. Returns 4 internal values. |
0o004 | SetupForce1DArray | setup-force-1d-array | ( arr -- ) | lp fp sp pop signed | Forces 1D array setup (disregarding multi-dimension rank checks). |
0o310 | Aset1 | aset-1 | ( val arr i -- val ) | lp fp sp pop unsigned | Stores 1D array element with bounds and type checking (:needs-tos :clobbers-tos). |
0o311 | AllocateListBlock | %allocate-list-block | ( size area -- loc ) | lp fp sp pop unsigned | Inline heap block allocation for cons cells (:needs-tos). |
0o312 | Aref1 | aref-1 | ( arr i -- val ) | lp fp sp pop unsigned | Reads 1D array element with bounds checking (:needs-tos). |
0o313 | Aloc1 | aloc-1 | ( arr i -- loc ) | lp fp sp pop unsigned | Computes locative pointer to 1D array element (:needs-tos). |
0o314 | StoreArrayLeader | store-array-leader | ( val arr i -- val ) | lp fp sp pop unsigned | Stores element into array leader at index i (:needs-tos :clobbers-tos). |
0o315 | AllocateStructureBlock | %allocate-structure-block | ( size area -- loc ) | lp fp sp pop unsigned | Inline heap block allocation for structures/instances (:needs-tos). |
0o316 | ArrayLeader | array-leader | ( arr i -- val ) | lp fp sp pop unsigned | Reads element from array leader at index i (:needs-tos). |
0o317 | AlocLeader | aloc-leader | ( arr i -- loc ) | lp fp sp pop unsigned | Computes locative pointer to array leader slot i (:needs-tos). |
0o350 | FastAref1 | fast-aref-1 | ( arr i -- val ) | lp fp sp | Fast unchecked 1D array reference using active BAR register (:needs-tos). |
0o351 | FastAset1 | fast-aset-1 | ( val arr i -- val ) | lp fp sp | Fast unchecked 1D array store using active BAR register (:needs-tos :clobbers-tos). |
3.9 Function Calling, Return, Catch & Binding
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o005 | BindLocative | bind-locative | ( loc -- ) | lp fp sp pop | Binds dynamic location cell to its current value (:clobbers-tos). |
0o006 | RestoreBindingStack | %restore-binding-stack | ( level -- ) | lp fp sp pop | Restores dynamic binding stack to specified saved mark. |
0o010 | StartCall | start-call | ( fn -- ) | lp fp sp pop signed | Initiates function call frame on stack (:start-call). |
0o050 | LocateLocals | locate-locals | ( -- ) | () | Allocates and initializes stack space for local variables. |
0o051 | CatchClose | catch-close | ( -- ) | () | Closes and removes innermost catch frame (:tos-unchanged). |
0o052 | GenericDispatch | %generic-dispatch | ( -- ) | () | Dispatches to method based on generic function cache (:clobbers-tos). |
0o053 | MessageDispatch | %message-dispatch | ( -- ) | () | Object-oriented message send dispatch (:clobbers-tos). |
0o054 | CheckPreemptRequest | %check-preempt-request | ( -- ) | () | Checks thread scheduler preemption flag (:tos-unchanged). |
0o104 | ReturnMultiple | return-multiple | ( vals*n n -- ) | pop unsigned | Returns n values to caller frame (:return). |
0o105 | ReturnKludge | return-kludge | ( -- ) | pop unsigned | Legacy multi-value return interface (:return). |
0o106 | TakeValues | take-values | ( -- ) | unsigned | Adjusts received values from multi-value callee. |
0o107 | UnbindN | unbind-n | ( -- ) | unsigned | Unbinds n dynamic bindings from binding stack (:tos-unchanged). |
0o115 | ReturnSingle | return-single | ( val -- ) | 10-bit-immediate | Returns single value from stack frame to caller (:return). |
0o134 | FinishCallN | finish-call-n | ( args*n -- res ) | 10-bit-immediate | Completes call with n pushed arguments (:finish-call :smashes-lp). |
0o135 | FinishCallNApply | finish-call-n-apply | ( args rest -- res ) | 10-bit-immediate | Completes call applying trailing list (:finish-call :smashes-lp). |
0o136 | FinishCallTos | finish-call-tos | ( args*n n -- res ) | 10-bit-immediate | Completes call taking arg count from TOS (:finish-call :smashes-lp). |
0o137 | FinishCallTosApply | finish-call-tos-apply | ( args n -- res ) | 10-bit-immediate | Completes call taking count from TOS with apply (:finish-call :smashes-lp). |
0o176 | EntryRestAccepted | entry-rest-accepted | ( -- ) | entry | Function header validating argument count when &rest accepted (:clobbers-tos). |
0o177 | EntryRestNotAccepted | entry-rest-not-accepted | ( -- ) | entry | Function header validating argument count when &rest not accepted (:clobbers-tos). |
0o236 | BindLocativeToValue | bind-locative-to-value | ( loc val -- ) | lp fp sp pop signed | Binds location cell to new value (:needs-tos :clobbers-tos). |
0o376 | CatchOpen | catch-open | ( tag -- ) | unsigned | Pushes catch block descriptor for catch or unwind-protect. |
3.10 AI / Logic Programming (Prolog / Joshua Primitives)
Ivory contains hardware-assisted instructions specifically optimized for unification, logic variables, and backtracking:
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o013 | Dereference | dereference | ( var -- val ) | lp fp sp pop signed | Follows logic variable forwarding pointer chain to bound value or unbound variable. |
0o014 | LogicTailTest | logic-tail-test | ( loc -- bool ) | lp fp sp pop signed | Tests if locative is at the end of a logic variable choice point. |
0o055 | PushGlobalLogicVar | push-global-logic-variable | ( -- lvar ) | () | Creates and pushes a new unbound global logic variable. |
0o103 | PushLocalLogicVars | push-local-logic-variables | ( n -- ) | lp fp sp unsigned | Allocates and initializes n local logic variables on the stack. |
0o237 | Unify | unify | ( term1 term2 -- bool ) | lp fp sp pop signed | Hardware-assisted recursive unification primitive (:needs-tos :clobbers-tos). |
3.11 Block Transfers & Memory Subprimitives
| Opcode (Octal) | Mnemonic | Canonical Name | Stack Effect | Legal Operands | Description |
|---|---|---|---|---|---|
0o007 | Ephemeralp | %ephemeralp | ( ptr -- bool ) | lp fp sp pop | Tests if pointer references ephemeral garbage collection address space. |
0o012 | Tag | %tag | ( obj -- tag ) | lp fp sp pop signed | Extracts the 6-bit DTP tag as a fixnum. |
0o015 | SpareOp015 | %proc-breakpoint | ( -- ) | lp fp sp pop signed | Software breakpoint instruction. |
0o030 .. 0o033 | Block0..3Write | %block-0..3-write | ( val -- ) | lp fp sp pop signed | Burst writes word into stream registered in BAR0..3, auto-incrementing address (:tos-unchanged). |
0o056 | NoOp | no-op | ( -- ) | () | No-operation hardware padding (:tos-unchanged). |
0o057 | Halt | %halt | ( -- ) | () | Halts processor pipeline; transfers control to hardware monitor (:tos-unchanged). |
0o116 | MemoryRead | %memory-read | ( addr -- val ) | 10-bit-immediate | Reads 40-bit word from virtual or physical memory address. |
0o117 | MemoryReadHeader | %memory-read-address | ( addr -- val ) | 10-bit-immediate | Reads word header / address component from memory. |
0o120 .. 0o123 | Block0..3Read | %block-0..3-read | ( -- val ) | 10-bit-immediate | Burst reads word from stream registered in BAR0..3, auto-incrementing address. |
0o124 .. 0o127 | Block0..3ReadShift | %block-0..3-read-shift | ( -- val ) | 10-bit-immediate | Burst reads word from BAR0..3 with bit shift. |
0o130 .. 0o133 | Block0..3ReadTest | %block-0..3-read-test | ( -- val ) | 10-bit-immediate | Burst reads word from BAR0..3 with conditional test. |
0o145 | PointerIncrement | %pointer-increment | ( loc -- ) | lp fp sp | Increments pointer address in place (:tos-unchanged). |
0o146 | SetCdrCode1 | %set-cdr-code-1 | ( loc -- ) | lp fp sp | Sets CDR code of word at loc to 1 (cdr-nil) (:tos-unchanged). |
0o147 | SetCdrCode2 | %set-cdr-code-2 | ( loc -- ) | lp fp sp | Sets CDR code of word at loc to 2 (cdr-normal) (:tos-unchanged). |
0o154 | ReadInternalRegister | %read-internal-register | ( -- val ) | 10-bit-immediate | Reads internal hardware register by index onto stack. |
0o155 | WriteInternalRegister | %write-internal-register | ( val -- ) | 10-bit-immediate | Writes word to internal hardware register (:clobbers-tos). |
0o156 | CoprocessorRead | %coprocessor-read | ( -- val ) | 10-bit-immediate | Reads coprocessor hardware register. |
0o157 | CoprocessorWrite | %coprocessor-write | ( val -- ) | 10-bit-immediate | Writes coprocessor hardware register (:clobbers-tos). |
0o160 .. 0o163 | Block0..3ReadAlu | %block-0..3-read-alu | ( -- val ) | lp fp sp | Burst reads word from BAR0..3 through the ALU (:tos-unchanged). |
0o230 | PointerPlus | %pointer-plus | ( ptr n -- res ) | lp fp sp pop signed | Word address pointer addition (:needs-tos). |
0o231 | PointerDifference | %pointer-difference | ( p1 p2 -- diff ) | lp fp sp pop signed | Computes word distance between pointers (:needs-tos). |
0o233 | StoreConditional | store-conditional | ( old new addr -- ok ) | lp fp sp pop signed | Interlocked atomic compare-and-swap primitive (:needs-tos). |
0o234 | MemoryWrite | %memory-write | ( val addr -- ) | lp fp sp pop signed | Writes 40-bit word to virtual or physical address (:needs-tos). |
0o235 | PStoreContents | %p-store-contents | ( val loc -- ) | lp fp sp pop signed | Pointer store without modifying tag or CDR code (:needs-tos :clobbers-tos). |
0o327 | SetTag | %set-tag | ( val tag -- res ) | lp fp sp pop unsigned | Creates new word replacing DTP tag (:needs-tos). |
0o342 | MergeCdrNoPop | %merge-cdr-no-pop | ( a b -- res ) | lp fp sp | Merges CDR code from b into word a (:needs-tos). |
0o377 | SpareOp377 | %hack | ( -- val ) | 10-bit-immediate | Emulator diagnostic hook opcode. |
4. Master 256-Opcode Reference Table
The canonical mapping of all 256 halfword opcodes (0o000 through 0o377), indexed by octal opcode:
| Opcode (Oct) | Opcode (Dec) | Canonical Lisp Name | Disassembler Mnemonic | Args | Returns | Legal Operands | Compiler Attributes | Status |
|---|---|---|---|---|---|---|---|---|
0o000 | 0 | car | Car | 1 | 1 | lp fp sp pop | - | Standard |
0o001 | 1 | cdr | Cdr | 1 | 1 | lp fp sp pop | - | Standard |
0o002 | 2 | endp | Endp | 1 | 1 | lp fp sp pop signed | - | Standard |
0o003 | 3 | setup-1d-array | Setup1DArray | 1 | 4 | lp fp sp pop signed | - | Standard |
0o004 | 4 | setup-force-1d-array | SetupForce1DArray | 1 | 4 | lp fp sp pop signed | - | Standard |
0o005 | 5 | bind-locative | BindLocative | 1 | 0 | lp fp sp pop | :clobbers-tos | Standard |
0o006 | 6 | %restore-binding-stack | RestoreBindingStack | 1 | 0 | lp fp sp pop | :function %restore-binding-stack-level | Standard |
0o007 | 7 | %ephemeralp | Ephemeralp | 1 | 1 | lp fp sp pop | - | Standard |
0o010 | 8 | start-call | StartCall | 1 | 0 | lp fp sp pop signed | :start-call | Standard |
0o011 | 9 | %jump | Jump | 1 | 0 | lp fp sp pop | - | Standard |
0o012 | 10 | %tag | Tag | 1 | 1 | lp fp sp pop signed | - | Standard |
0o013 | 11 | dereference | Dereference | 1 | 1 | lp fp sp pop signed | - | Standard |
0o014 | 12 | logic-tail-test | LogicTailTest | 1 | 1 | lp fp sp pop signed | - | Standard |
0o015 | 13 | %proc-breakpoint | SpareOp015 | 0 | 0 | lp fp sp pop signed | - | Breakpoint |
0o016 | 14 | %double-float-op | DoubleFloatOp | 5 | 3 | lp fp sp pop unsigned | :needs-tos | VLM Rev 5 only |
0o017 | 15 | *spare* | SpareOp017 | - | - | - | - | Spare / Reserved |
0o020 | 16 | push-lexical-var | PushLexicalVar0 | 1 | 1 | lp fp sp pop | - | Standard |
0o021 | 17 | push-lexical-var | PushLexicalVar1 | 1 | 1 | lp fp sp pop | - | Standard |
0o022 | 18 | push-lexical-var | PushLexicalVar2 | 1 | 1 | lp fp sp pop | - | Standard |
0o023 | 19 | push-lexical-var | PushLexicalVar3 | 1 | 1 | lp fp sp pop | - | Standard |
0o024 | 20 | push-lexical-var | PushLexicalVar4 | 1 | 1 | lp fp sp pop | - | Standard |
0o025 | 21 | push-lexical-var | PushLexicalVar5 | 1 | 1 | lp fp sp pop | - | Standard |
0o026 | 22 | push-lexical-var | PushLexicalVar6 | 1 | 1 | lp fp sp pop | - | Standard |
0o027 | 23 | push-lexical-var | PushLexicalVar7 | 1 | 1 | lp fp sp pop | - | Standard |
0o030 | 24 | %block-0-write | Block0Write | 1 | 0 | lp fp sp pop signed | :function %block-write :tos-unchanged | Standard |
0o031 | 25 | %block-1-write | Block1Write | 1 | 0 | lp fp sp pop signed | :tos-unchanged | Standard |
0o032 | 26 | %block-2-write | Block2Write | 1 | 0 | lp fp sp pop signed | :tos-unchanged | Standard |
0o033 | 27 | %block-3-write | Block3Write | 1 | 0 | lp fp sp pop signed | :tos-unchanged | Standard |
0o034 | 28 | zerop | Zerop | 1 | 1 | lp fp sp pop signed | :needs-lp | Standard |
0o035 | 29 | minusp | Minusp | 1 | 1 | lp fp sp pop signed | :needs-lp | Standard |
0o036 | 30 | plusp | Plusp | 1 | 1 | lp fp sp pop signed | :needs-lp | Standard |
0o037 | 31 | *spare* | SpareOp037 | - | - | - | - | Spare / Reserved |
0o040 | 32 | type-member | TypeMember0 | 2 | 1 | 12-bit-unsigned-immediate | :function type-member-internal | Standard |
0o041 | 33 | type-member | TypeMember1 | 2 | 1 | 12-bit-unsigned-immediate | :function type-member-internal | Standard |
0o042 | 34 | type-member | TypeMember2 | 2 | 1 | 12-bit-unsigned-immediate | :function type-member-internal | Standard |
0o043 | 35 | type-member | TypeMember3 | 2 | 1 | 12-bit-unsigned-immediate | :function type-member-internal | Standard |
0o044 | 36 | type-member-no-pop | TypeMember4 | 2 | 2 | 12-bit-unsigned-immediate | - | Standard |
0o045 | 37 | type-member-no-pop | TypeMember5 | 2 | 2 | 12-bit-unsigned-immediate | - | Standard |
0o046 | 38 | type-member-no-pop | TypeMember6 | 2 | 2 | 12-bit-unsigned-immediate | - | Standard |
0o047 | 39 | type-member-no-pop | TypeMember7 | 2 | 2 | 12-bit-unsigned-immediate | - | Standard |
0o050 | 40 | locate-locals | LocateLocals | 0 | 0 | - | - | Standard |
0o051 | 41 | catch-close | CatchClose | 0 | 0 | - | :tos-unchanged | Standard |
0o052 | 42 | %generic-dispatch | GenericDispatch | 0 | 0 | - | :clobbers-tos | Standard |
0o053 | 43 | %message-dispatch | MessageDispatch | 0 | 0 | - | :clobbers-tos | Standard |
0o054 | 44 | %check-preempt-request | CheckPreemptRequest | 0 | 0 | - | :tos-unchanged | Standard |
0o055 | 45 | push-global-logic-variable | PushGlobalLogicVar | 0 | 1 | - | - | Standard |
0o056 | 46 | no-op | NoOp | 0 | 0 | - | :tos-unchanged | Standard |
0o057 | 47 | %halt | Halt | 0 | 0 | - | :tos-unchanged | Standard |
0o060 | 48 | branch-true | BranchTrue | 2 | 0 | relative-pc | :needs-tos :conditional-branch | Standard |
0o061 | 49 | branch-true-else-extra-pop | BranchTrueElseExtraPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch | Standard |
0o062 | 50 | branch-true-and-extra-pop | BranchTrueAndExtraPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch | Standard |
0o063 | 51 | branch-true-extra-pop | BranchTrueExtraPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch | Standard |
0o064 | 52 | branch-true-no-pop | BranchTrueNoPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch | Standard |
0o065 | 53 | branch-true-and-no-pop | BranchTrueAndNoPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch | Standard |
0o066 | 54 | branch-true-else-no-pop | BranchTrueElseNoPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch | Standard |
0o067 | 55 | branch-true-and-no-pop-else-no-pop-extra-pop | BranchTrueAndNoPopElseNoPopExtraPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch | Standard |
0o070 | 56 | branch-false | BranchFalse | 2 | 0 | relative-pc | :needs-tos :conditional-branch :invert-branch | Standard |
0o071 | 57 | branch-false-else-extra-pop | BranchFalseElseExtraPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch :invert-branch | Standard |
0o072 | 58 | branch-false-and-extra-pop | BranchFalseAndExtraPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch :invert-branch | Standard |
0o073 | 59 | branch-false-extra-pop | BranchFalseExtraPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch :invert-branch | Standard |
0o074 | 60 | branch-false-no-pop | BranchFalseNoPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch :invert-branch | Standard |
0o075 | 61 | branch-false-and-no-pop | BranchFalseAndNoPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch :invert-branch | Standard |
0o076 | 62 | branch-false-else-no-pop | BranchFalseElseNoPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch :invert-branch | Standard |
0o077 | 63 | branch-false-and-no-pop-else-no-pop-extra-pop | BranchFalseAndNoPopElseNoPopExtraPop | 2 | 0 | relative-pc | :needs-tos :conditional-branch :invert-branch | Standard |
0o100 | 64 | push | Push | 1 | 1 | lp fp sp pop unsigned | - | Standard |
0o101 | 65 | push-n-nils | PushNNils | 1 | I | unsigned | - | Standard |
0o102 | 66 | push-address-sp-relative | PushAddressSpRelative | 1 | 1 | lp fp sp pop unsigned | - | Standard |
0o103 | 67 | push-local-logic-variables | PushLocalLogicVars | 1 | n | lp fp sp unsigned | - | Standard |
0o104 | 68 | return-multiple | ReturnMultiple | 1 | 0 | pop unsigned | :return | Standard |
0o105 | 69 | return-kludge | ReturnKludge | 1 | 0 | pop unsigned | :return | Standard |
0o106 | 70 | take-values | TakeValues | 1 | I | unsigned | - | Standard |
0o107 | 71 | unbind-n | UnbindN | 1 | 0 | unsigned | :function unbind-n-internal :tos-unchanged | Standard |
0o110 | 72 | push-instance-variable | PushInstanceVar | 1 | 1 | unsigned | - | Standard |
0o111 | 73 | push-address-instance-variable | PushAddressInstanceVar | 1 | 1 | unsigned | - | Standard |
0o112 | 74 | push-instance-variable-ordered | PushInstanceVarOrdered | 1 | 1 | unsigned | - | Standard |
0o113 | 75 | push-address-instance-variable-ordered | PushAddressInstanceVarOrdered | 1 | 1 | unsigned | - | Standard |
0o114 | 76 | unary-minus | UnaryMinus | 1 | 1 | lp fp sp pop unsigned | :needs-lp :function minus | Standard |
0o115 | 77 | return-single | ReturnSingle | 1 | 0 | 10-bit-immediate | :return | Standard |
0o116 | 78 | %memory-read | MemoryRead | 2 | 1 | 10-bit-immediate | :function %memory-read-internal | Standard |
0o117 | 79 | %memory-read-address | MemoryReadHeader | 2 | 1 | 10-bit-immediate | :function %memory-read-address-internal | Standard |
0o120 | 80 | %block-0-read | Block0Read | 1 | 1 | 10-bit-immediate | :function %block-read | Standard |
0o121 | 81 | %block-1-read | Block1Read | 1 | 1 | 10-bit-immediate | - | Standard |
0o122 | 82 | %block-2-read | Block2Read | 1 | 1 | 10-bit-immediate | - | Standard |
0o123 | 83 | %block-3-read | Block3Read | 1 | 1 | 10-bit-immediate | - | Standard |
0o124 | 84 | %block-0-read-shift | Block0ReadShift | 1 | 1 | 10-bit-immediate | :function %block-read-shift | Standard |
0o125 | 85 | %block-1-read-shift | Block1ReadShift | 1 | 1 | 10-bit-immediate | - | Standard |
0o126 | 86 | %block-2-read-shift | Block2ReadShift | 1 | 1 | 10-bit-immediate | - | Standard |
0o127 | 87 | %block-3-read-shift | Block3ReadShift | 1 | 1 | 10-bit-immediate | - | Standard |
0o130 | 88 | %block-0-read-test | Block0ReadTest | n | 1 | 10-bit-immediate | :function %block-read-test | Standard |
0o131 | 89 | %block-1-read-test | Block1ReadTest | n | 1 | 10-bit-immediate | - | Standard |
0o132 | 90 | %block-2-read-test | Block2ReadTest | n | 1 | 10-bit-immediate | - | Standard |
0o133 | 91 | %block-3-read-test | Block3ReadTest | n | 1 | 10-bit-immediate | - | Standard |
0o134 | 92 | finish-call-n | FinishCallN | 1 | 0 | 10-bit-immediate | :finish-call :smashes-lp # | :tos-unchanged |
0o135 | 93 | finish-call-n-apply | FinishCallNApply | 1 | 0 | 10-bit-immediate | :finish-call :smashes-lp # | :tos-unchanged |
0o136 | 94 | finish-call-tos | FinishCallTos | 2 | 0 | 10-bit-immediate | :finish-call :smashes-lp # | :tos-unchanged |
0o137 | 95 | finish-call-tos-apply | FinishCallTosApply | 2 | 0 | 10-bit-immediate | :finish-call :smashes-lp # | :tos-unchanged |
0o140 | 96 | set-to-car | SetToCar | 1 | 0 | lp fp sp | :function car-local :tos-unchanged | Standard |
0o141 | 97 | set-to-cdr | SetToCdr | 1 | 0 | lp fp sp | :function cdr-local :tos-unchanged | Standard |
0o142 | 98 | set-to-cdr-push-car | SetToCdrPushCar | 1 | 1 | lp fp sp | - | Standard |
0o143 | 99 | increment | Increment | 1 | 0 | lp fp sp | :function 1+local :tos-unchanged | Standard |
0o144 | 100 | decrement | Decrement | 1 | 0 | lp fp sp | :function 1-local :tos-unchanged | Standard |
0o145 | 101 | %pointer-increment | PointerIncrement | 1 | 0 | lp fp sp | :tos-unchanged | Standard |
0o146 | 102 | %set-cdr-code-1 | SetCdrCode1 | 1 | 0 | lp fp sp | :tos-unchanged | Standard |
0o147 | 103 | %set-cdr-code-2 | SetCdrCode2 | 1 | 0 | lp fp sp | :tos-unchanged | Standard |
0o150 | 104 | push-address | PushAddress | 1 | 1 | lp fp sp | - | Standard |
0o151 | 105 | set-sp-to-address | SetSpToAddress | 1 | 0 | lp fp sp | - | Standard |
0o152 | 106 | set-sp-to-address-save-tos | SetSpToAddressSaveTos | 1 | 0 | lp fp sp | - | Standard |
0o153 | 107 | *spare* | SpareOp153 | - | - | - | - | Spare / Reserved |
0o154 | 108 | %read-internal-register | ReadInternalRegister | 1 | 1 | 10-bit-immediate | - | Standard |
0o155 | 109 | %write-internal-register | WriteInternalRegister | 2 | 0 | 10-bit-immediate | :clobbers-tos | Standard |
0o156 | 110 | %coprocessor-read | CoprocessorRead | 1 | 1 | 10-bit-immediate | - | Standard |
0o157 | 111 | %coprocessor-write | CoprocessorWrite | 2 | 0 | 10-bit-immediate | :clobbers-tos | Standard |
0o160 | 112 | %block-0-read-alu | Block0ReadAlu | 1 | 0 | lp fp sp | :function %block-read-alu :tos-unchanged | Standard |
0o161 | 113 | %block-1-read-alu | Block1ReadAlu | 1 | 0 | lp fp sp | :tos-unchanged | Standard |
0o162 | 114 | %block-2-read-alu | Block2ReadAlu | 1 | 0 | lp fp sp | :tos-unchanged | Standard |
0o163 | 115 | %block-3-read-alu | Block3ReadAlu | 1 | 0 | lp fp sp | :tos-unchanged | Standard |
0o164 | 116 | *spare* | SpareOp164 | - | - | - | - | Spare / Reserved |
0o165 | 117 | *spare* | SpareOp165 | - | - | - | - | Spare / Reserved |
0o166 | 118 | *spare* | SpareOp166 | - | - | - | - | Spare / Reserved |
0o167 | 119 | *spare* | SpareOp167 | - | - | - | - | Spare / Reserved |
0o170 | 120 | ldb | Ldb | 2 | 1 | byte | :function ldb-internal | Standard |
0o171 | 121 | char-ldb | CharLdb | 2 | 1 | byte | - | Standard |
0o172 | 122 | %p-ldb | PLdb | 2 | 1 | byte | :function %p-ldb-internal | Standard |
0o173 | 123 | %p-tag-ldb | PTagLdb | 2 | 1 | byte | - | Standard |
0o174 | 124 | branch | Branch | 1 | 0 | relative-pc | ( | Standard |
0o175 | 125 | loop-decrement-tos | LoopDecrementTos | 2 | 0 | relative-pc | :loop | Standard |
0o176 | 126 | entry-rest-accepted | EntryRestAccepted | 2 | 0 | entry | :clobbers-tos | Standard |
0o177 | 127 | entry-rest-not-accepted | EntryRestNotAccepted | 2 | 0 | entry | :clobbers-tos | Standard |
0o200 | 128 | rplaca | Rplaca | 2 | 0 | lp fp sp pop signed | :needs-tos :clobbers-tos | Standard |
0o201 | 129 | rplacd | Rplacd | 2 | 0 | lp fp sp pop signed | :needs-tos :clobbers-tos | Standard |
0o202 | 130 | multiply | Multiply | 2 | 1 | lp fp sp pop signed | :needs-tos :function *-internal | Standard |
0o203 | 131 | quotient | Quotient | 2 | 1 | lp fp sp pop signed | :needs-tos :function //-internal | Standard |
0o204 | 132 | ceiling | Ceiling | 2 | 2 | lp fp sp pop signed | :needs-tos :function ceiling-internal | Standard |
0o205 | 133 | floor | Floor | 2 | 2 | lp fp sp pop signed | :needs-tos :function floor-internal | Standard |
0o206 | 134 | truncate | Truncate | 2 | 2 | lp fp sp pop signed | :needs-tos :function truncate-internal | Standard |
0o207 | 135 | round | Round | 2 | 2 | lp fp sp pop signed | :needs-tos :function round-internal | Standard |
0o210 | 136 | *spare* | SpareOp210 | - | - | - | - | Spare / Reserved |
0o211 | 137 | rational-quotient | RationalQuotient | 2 | 1 | lp fp sp pop signed | :needs-tos :function *rational-quotient | Standard |
0o212 | 138 | min | Min | 2 | 1 | lp fp sp pop signed | :needs-tos :function min-internal | Standard |
0o213 | 139 | max | Max | 2 | 1 | lp fp sp pop signed | :needs-tos :function max-internal | Standard |
0o214 | 140 | %alu | Alu | 2 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o215 | 141 | logand | Logand | 2 | 1 | lp fp sp pop signed | :needs-tos :function logand-internal | Standard |
0o216 | 142 | logxor | Logxor | 2 | 1 | lp fp sp pop signed | :needs-tos :function logxor-internal | Standard |
0o217 | 143 | logior | Logior | 2 | 1 | lp fp sp pop signed | :needs-tos :function logior-internal | Standard |
0o220 | 144 | rot | Rot | 2 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o221 | 145 | lsh | Lsh | 2 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o222 | 146 | %multiply-double | MultiplyDouble | 2 | 2 | lp fp sp pop signed | :needs-tos | Standard |
0o223 | 147 | %lshc-bignum-step | LshcBignumStep | 3 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o224 | 148 | stack-blt | StackBlt | 2 | 0 | lp fp sp pop signed | :needs-tos | Standard |
0o225 | 149 | rgetf | Rgetf | 2 | 2 | lp fp sp pop | :needs-tos | Standard |
0o226 | 150 | member | Member | 2 | 1 | lp fp sp pop | :needs-tos :function member-fast | Standard |
0o227 | 151 | assoc | Assoc | 2 | 1 | lp fp sp pop | :needs-tos :function assoc-fast | Standard |
0o230 | 152 | %pointer-plus | PointerPlus | 2 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o231 | 153 | %pointer-difference | PointerDifference | 2 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o232 | 154 | ash | Ash | 2 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o233 | 155 | store-conditional | StoreConditional | 3 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o234 | 156 | %memory-write | MemoryWrite | 2 | 0 | lp fp sp pop signed | :needs-tos | Standard |
0o235 | 157 | %p-store-contents | PStoreContents | 2 | 0 | lp fp sp pop signed | :needs-tos :clobbers-tos | Standard |
0o236 | 158 | bind-locative-to-value | BindLocativeToValue | 2 | 0 | lp fp sp pop signed | :needs-tos :clobbers-tos :function %bind-locative-to-value | Standard |
0o237 | 159 | unify | Unify | 2 | 0 | lp fp sp pop signed | :needs-tos :clobbers-tos | Standard |
0o240 | 160 | pop-lexical-var | PopLexicalVar0 | 2 | 0 | lp fp sp pop | :clobbers-tos | Standard |
0o241 | 161 | pop-lexical-var | PopLexicalVar1 | 2 | 0 | lp fp sp pop | :clobbers-tos | Standard |
0o242 | 162 | pop-lexical-var | PopLexicalVar2 | 2 | 0 | lp fp sp pop | :clobbers-tos | Standard |
0o243 | 163 | pop-lexical-var | PopLexicalVar3 | 2 | 0 | lp fp sp pop | :clobbers-tos | Standard |
0o244 | 164 | pop-lexical-var | PopLexicalVar4 | 2 | 0 | lp fp sp pop | :clobbers-tos | Standard |
0o245 | 165 | pop-lexical-var | PopLexicalVar5 | 2 | 0 | lp fp sp pop | :clobbers-tos | Standard |
0o246 | 166 | pop-lexical-var | PopLexicalVar6 | 2 | 0 | lp fp sp pop | :clobbers-tos | Standard |
0o247 | 167 | pop-lexical-var | PopLexicalVar7 | 2 | 0 | lp fp sp pop | :clobbers-tos | Standard |
0o250 | 168 | movem-lexical-var | MovemLexicalVar0 | 2 | 1 | lp fp sp pop | - | Standard |
0o251 | 169 | movem-lexical-var | MovemLexicalVar1 | 2 | 1 | lp fp sp pop | - | Standard |
0o252 | 170 | movem-lexical-var | MovemLexicalVar2 | 2 | 1 | lp fp sp pop | - | Standard |
0o253 | 171 | movem-lexical-var | MovemLexicalVar3 | 2 | 1 | lp fp sp pop | - | Standard |
0o254 | 172 | movem-lexical-var | MovemLexicalVar4 | 2 | 1 | lp fp sp pop | - | Standard |
0o255 | 173 | movem-lexical-var | MovemLexicalVar5 | 2 | 1 | lp fp sp pop | - | Standard |
0o256 | 174 | movem-lexical-var | MovemLexicalVar6 | 2 | 1 | lp fp sp pop | - | Standard |
0o257 | 175 | movem-lexical-var | MovemLexicalVar7 | 2 | 1 | lp fp sp pop | - | Standard |
0o260 | 176 | equal-number | EqualNumber | 2 | 1 | lp fp sp pop signed | :needs-tos :needs-lp :function internal-= | Standard |
0o261 | 177 | lessp | Lessp | 2 | 1 | lp fp sp pop signed | :needs-tos :needs-lp :function internal-< | Standard |
0o262 | 178 | greaterp | Greaterp | 2 | 1 | lp fp sp pop signed | :needs-tos :needs-lp :function internal-> | Standard |
0o263 | 179 | eql | Eql | 2 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o264 | 180 | equal-number-no-pop | EqualNumberNoPop | 2 | 2 | lp fp sp pop signed | :needs-tos :needs-lp :function =-no-pop | Standard |
0o265 | 181 | lessp-no-pop | LesspNoPop | 2 | 2 | lp fp sp pop signed | :needs-tos :needs-lp :function <-no-pop | Standard |
0o266 | 182 | greaterp-no-pop | GreaterpNoPop | 2 | 2 | lp fp sp pop signed | :needs-tos :needs-lp :function >-no-pop | Standard |
0o267 | 183 | eql-no-pop | EqlNoPop | 2 | 2 | lp fp sp pop signed | :needs-tos | Standard |
0o270 | 184 | eq | Eq | 2 | 1 | lp fp sp pop signed | :needs-tos | Standard |
0o271 | 185 | *spare* | SpareOp271 | - | - | - | - | Spare / Reserved |
0o272 | 186 | *spare* | SpareOp272 | - | - | - | - | Spare / Reserved |
0o273 | 187 | logtest | Logtest | 2 | 1 | lp fp sp pop signed | :needs-tos :function logtest-internal | Standard |
0o274 | 188 | eq-no-pop | EqNoPop | 2 | 2 | lp fp sp pop signed | :needs-tos | Standard |
0o275 | 189 | *spare* | SpareOp275 | - | - | - | - | Spare / Reserved |
0o276 | 190 | *spare* | SpareOp276 | - | - | - | - | Spare / Reserved |
0o277 | 191 | logtest-no-pop | LogtestNoPop | 2 | 2 | lp fp sp pop signed | :needs-tos | Standard |
0o300 | 192 | add | Add | 2 | 1 | lp fp sp pop unsigned | :needs-tos :needs-lp :function +-internal | Standard |
0o301 | 193 | sub | Sub | 2 | 1 | lp fp sp pop unsigned | :needs-tos :needs-lp :function --internal | Standard |
0o302 | 194 | %32-bit-plus | 32BitPlus | 2 | 1 | lp fp sp pop unsigned | :needs-tos | Standard |
0o303 | 195 | %32-bit-difference | 32BitDifference | 2 | 1 | lp fp sp pop unsigned | :needs-tos | Standard |
0o304 | 196 | %add-bignum-step | AddBignumStep | 3 | 2 | lp fp sp pop unsigned | :needs-tos | Standard |
0o305 | 197 | %sub-bignum-step | SubBignumStep | 3 | 2 | lp fp sp pop unsigned | :needs-tos | Standard |
0o306 | 198 | %multiply-bignum-step | MultiplyBignumStep | 2 | 2 | lp fp sp pop unsigned | :needs-tos | Standard |
0o307 | 199 | %divide-bignum-step | DivideBignumStep | 3 | 2 | lp fp sp pop unsigned | :needs-tos | Standard |
0o310 | 200 | aset-1 | Aset1 | 3 | 0 | lp fp sp pop unsigned | :needs-tos :clobbers-tos :function as-1 | Standard |
0o311 | 201 | %allocate-list-block | AllocateListBlock | 2 | 1 | lp fp sp pop unsigned | :needs-tos | Standard |
0o312 | 202 | aref-1 | Aref1 | 2 | 1 | lp fp sp pop unsigned | :needs-tos :function ar-1 | Standard |
0o313 | 203 | aloc-1 | Aloc1 | 2 | 1 | lp fp sp pop unsigned | :needs-tos :function ap-1 | Standard |
0o314 | 204 | store-array-leader | StoreArrayLeader | 3 | 0 | lp fp sp pop unsigned | :needs-tos :clobbers-tos | Standard |
0o315 | 205 | %allocate-structure-block | AllocateStructureBlock | 2 | 1 | lp fp sp pop unsigned | :needs-tos | Standard |
0o316 | 206 | array-leader | ArrayLeader | 2 | 1 | lp fp sp pop unsigned | :needs-tos | Standard |
0o317 | 207 | aloc-leader | AlocLeader | 2 | 1 | lp fp sp pop unsigned | :needs-tos :function ap-leader | Standard |
0o320 | 208 | pop-instance-variable | PopInstanceVar | 2 | 0 | unsigned | :clobbers-tos | Standard |
0o321 | 209 | movem-instance-variable | MovemInstanceVar | 2 | 1 | unsigned | - | Standard |
0o322 | 210 | pop-instance-variable-ordered | PopInstanceVarOrdered | 2 | 0 | unsigned | :clobbers-tos | Standard |
0o323 | 211 | movem-instance-variable-ordered | MovemInstanceVarOrdered | 2 | 1 | unsigned | - | Standard |
0o324 | 212 | %instance-ref | InstanceRef | 2 | 1 | lp fp sp pop unsigned | :needs-tos | Standard |
0o325 | 213 | %instance-set | InstanceSet | 3 | 0 | lp fp sp pop unsigned | :needs-tos :clobbers-tos | Standard |
0o326 | 214 | %instance-loc | InstanceLoc | 2 | 1 | lp fp sp pop unsigned | :needs-tos | Standard |
0o327 | 215 | %set-tag | SetTag | 2 | 1 | lp fp sp pop unsigned | :needs-tos | Standard |
0o330 | 216 | *spare* | SpareOp330 | - | - | - | - | Spare / Reserved |
0o331 | 217 | %unsigned-lessp | UnsignedLessp | 2 | 1 | lp fp sp pop unsigned | :needs-tos | Standard |
0o332 | 218 | *spare* | SpareOp332 | - | - | - | - | Spare / Reserved |
0o333 | 219 | *spare* | SpareOp333 | - | - | - | - | Spare / Reserved |
0o334 | 220 | *spare* | SpareOp334 | - | - | - | - | Spare / Reserved |
0o335 | 221 | %unsigned-lessp-no-pop | UnsignedLesspNoPop | 2 | 2 | lp fp sp pop unsigned | :needs-tos | Standard |
0o336 | 222 | *spare* | SpareOp336 | - | - | - | - | Spare / Reserved |
0o337 | 223 | *spare* | SpareOp337 | - | - | - | - | Spare / Reserved |
0o340 | 224 | pop | Pop | 2 | 0 | lp fp sp | :needs-tos | Standard |
0o341 | 225 | movem | Movem | 2 | 1 | lp fp sp | - | Standard |
0o342 | 226 | %merge-cdr-no-pop | MergeCdrNoPop | 2 | 1 | lp fp sp | :needs-tos | Standard |
0o343 | 227 | *spare* | SpareOp343 | - | - | - | - | Spare / Reserved |
0o344 | 228 | *spare* | SpareOp344 | - | - | - | - | Spare / Reserved |
0o345 | 229 | *spare* | SpareOp345 | - | - | - | - | Spare / Reserved |
0o346 | 230 | *spare* | SpareOp346 | - | - | - | - | Spare / Reserved |
0o347 | 231 | *spare* | SpareOp347 | - | - | - | - | Spare / Reserved |
0o350 | 232 | fast-aref-1 | FastAref1 | 2 | 1 | lp fp sp | :needs-tos | Standard |
0o351 | 233 | fast-aset-1 | FastAset1 | 3 | 0 | lp fp sp | :needs-tos :clobbers-tos | Standard |
0o352 | 234 | stack-blt-address | StackBltAddress | 2 | 0 | lp fp sp | :needs-tos | Standard |
0o353 | 235 | *spare* | SpareOp353 | - | - | - | - | Spare / Reserved |
0o354 | 236 | *spare* | SpareOp354 | - | - | - | - | Spare / Reserved |
0o355 | 237 | *spare* | SpareOp355 | - | - | - | - | Spare / Reserved |
0o356 | 238 | *spare* | SpareOp356 | - | - | - | - | Spare / Reserved |
0o357 | 239 | *spare* | SpareOp357 | - | - | - | - | Spare / Reserved |
0o360 | 240 | *spare* | SpareOp360 | - | - | - | - | Spare / Reserved |
0o361 | 241 | *spare* | SpareOp361 | - | - | - | - | Spare / Reserved |
0o362 | 242 | *spare* | SpareOp362 | - | - | - | - | Spare / Reserved |
0o363 | 243 | *spare* | SpareOp363 | - | - | - | - | Spare / Reserved |
0o364 | 244 | *spare* | SpareOp364 | - | - | - | - | Spare / Reserved |
0o365 | 245 | *spare* | SpareOp365 | - | - | - | - | Spare / Reserved |
0o366 | 246 | *spare* | SpareOp366 | - | - | - | - | Spare / Reserved |
0o367 | 247 | *spare* | SpareOp367 | - | - | - | - | Spare / Reserved |
0o370 | 248 | dpb | Dpb | 3 | 1 | byte | :needs-tos :function dpb-internal | Standard |
0o371 | 249 | char-dpb | CharDpb | 3 | 1 | byte | :needs-tos | Standard |
0o372 | 250 | %p-dpb | PDpb | 3 | 0 | byte | :needs-tos :clobbers-tos :function %p-dpb-internal | Standard |
0o373 | 251 | %p-tag-dpb | PTagDpb | 3 | 0 | byte | :needs-tos :clobbers-tos | Standard |
0o374 | 252 | *spare* | SpareOp374 | - | - | - | - | Spare / Reserved |
0o375 | 253 | loop-increment-tos-less-than | LoopIncrementTosLessThan | 2 | 0 | relative-pc | :needs-tos :loop | Standard |
0o376 | 254 | catch-open | CatchOpen | 1 | n | unsigned | - | Standard |
0o377 | 255 | %hack | SpareOp377 | 2 | 1 | 10-bit-immediate | - | Emulator hook (%hack) |
5. Fullword Macroinstruction Operations (def-dtp-op)
When an instruction word in the macroinstruction stream has a tag < 0o60, it is executed as a Fullword Instruction or Inline Constant rather than decoded into two halfwords:
| DTP Tag (Octal) | Symbolics DTP Name | Fullword Operation Class | Behavioral Execution Semantics |
|---|---|---|---|
0o00 | dtp-null | :illegal-instruction | Traps with InstructionExceptionNullTag. |
0o01 | dtp-monitor-forward | :illegal-instruction | Traps (forwarding pointer encountered as instruction). |
0o02 | dtp-header-p | :illegal-instruction | Traps (structure header in code stream). |
0o03 | dtp-header-i | :illegal-instruction | Traps (compiled function header in code stream). |
0o04 | dtp-external-value-cell-pointer | :push-instruction | Indirectly fetches contents of addressed symbol value cell and pushes to stack. |
0o05 | dtp-one-q-forward | :illegal-instruction | Traps (forwarding pointer). |
0o06 | dtp-header-forward | :illegal-instruction | Traps (forwarding pointer). |
0o07 | dtp-element-forward | :illegal-instruction | Traps (forwarding pointer). |
0o10 | dtp-fixnum | :push-instruction | Pushes 32-bit signed fixnum directly to TOS; increments PC by 1 word. |
0o11 | dtp-small-ratio | :push-instruction | Pushes small rational constant to TOS. |
0o12 | dtp-single-float | :push-instruction | Pushes IEEE single-precision float to TOS. |
0o13 | dtp-double-float | :push-instruction | Pushes pointer to double float to TOS. |
0o14 | dtp-bignum | :push-instruction | Pushes pointer to bignum to TOS. |
0o15 | dtp-big-ratio | :push-instruction | Pushes pointer to big ratio to TOS. |
0o16 | dtp-complex | :push-instruction | Pushes pointer to complex number to TOS. |
0o17 | dtp-spare-number | :push-instruction | Pushes number constant to TOS. |
0o20 | dtp-instance | :push-instruction | Pushes instance pointer constant to TOS. |
0o21 | dtp-list-instance | :push-instruction | Pushes list-instance pointer constant to TOS. |
0o22 | dtp-array-instance | :push-instruction | Pushes array-instance pointer constant to TOS. |
0o23 | dtp-string-instance | :push-instruction | Pushes string-instance pointer constant to TOS. |
0o24 | dtp-nil | :push-instruction | Pushes NIL constant to TOS. |
0o25 | dtp-list | :push-instruction | Pushes list / cons pointer to TOS. |
0o26 | dtp-array | :push-instruction | Pushes array pointer to TOS. |
0o27 | dtp-string | :push-instruction | Pushes string pointer to TOS. |
0o30 | dtp-symbol | :push-instruction | Pushes symbol pointer to TOS. |
0o31 | dtp-locative | :push-instruction | Pushes locative pointer to TOS. |
0o32 | dtp-lexical-closure | :push-instruction | Pushes lexical closure pointer to TOS. |
0o33 | dtp-dynamic-closure | :push-instruction | Pushes dynamic closure pointer to TOS. |
0o34 | dtp-compiled-function | :push-instruction | Pushes compiled function descriptor to TOS. |
0o35 | dtp-generic-function | :push-instruction | Pushes generic function descriptor to TOS. |
0o36 | dtp-spare-pointer-1 | :push-instruction | Pushes pointer constant to TOS. |
0o37 | dtp-spare-pointer-2 | :push-instruction | Pushes pointer constant to TOS. |
0o40 | dtp-physical-address | :push-instruction | Pushes physical address word to TOS. |
0o41 | dtp-spare-immediate-1 | :push-instruction | Pushes immediate word to TOS (also used for *vlm-native-instruction-opcode*). |
0o42 | dtp-bound-location | :illegal-instruction | Traps (internal binding frame marker). |
0o43 | dtp-character | :push-instruction | Pushes character object to TOS. |
0o44 | dtp-logic-variable | :illegal-instruction | Traps (unbound logic variable). |
0o45 | dtp-gc-forward | :illegal-instruction | Traps (GC forwarding marker). |
0o46 | dtp-even-pc | :push-instruction | Pushes continuation even PC to TOS. |
0o47 | dtp-odd-pc | :push-instruction | Pushes continuation odd PC to TOS. |
0o50 | dtp-call-compiled-even | :start-call | Pushes call frame header and branches to even PC of target. |
0o51 | dtp-call-compiled-odd | :start-call | Pushes call frame header and branches to odd PC of target. |
0o52 | dtp-call-indirect | :start-call | Pushes call frame header and branches indirectly through target cell. |
0o53 | dtp-call-generic | :start-call | Pushes call frame header and initiates generic function method lookup. |
0o54 | dtp-call-compiled-even-prefetch | :start-call :prefetch-pointer | Initiates call to even PC while hinting hardware instruction cache prefetch. |
0o55 | dtp-call-compiled-odd-prefetch | :start-call :prefetch-pointer | Initiates call to odd PC while hinting hardware instruction cache prefetch. |
0o56 | dtp-call-indirect-prefetch | :start-call | Indirect call with prefetch hint. |
0o57 | dtp-call-generic-prefetch | :start-call | Generic function call with prefetch hint. |
0o60 .. 0o77 | dtp-packed-instruction-* | :illegal-instruction | Executed as packed instruction pair; fullword execution traps. |