CREXX

REXX Language implementation

View the Project on GitHub adesutherland/CREXX

Virtual Machine Instruction Set

This chapter describes RXVM instructions by functional characteristic. It is a reference for RXAS authors and for readers inspecting compiler output.

Read the assembler guide before writing non-trivial RXAS by hand; many details that look obvious at the instruction level are normally handled by the compiler and linker.

Characteristics of RXVM Instructions

Most RXVM instructions share these properties:

Instruction Argument Types

Instruction definitions use compact argument-type names. Common ones include:

Type Description
REG VM register
ID label or symbolic identifier
FUNC global or local callable reference
INT integer literal or constant-pool integer
FLOAT floating-point literal or constant-pool float
DECIMAL decimal literal or constant-pool decimal
STRING string literal or constant-pool string
BINARY binary literal or constant-pool binary payload where supported

Related instructions often share a mnemonic and differ by opcode and operand types. The generated instruction tables later in this book are the detailed source for individual opcode forms.