ocmbytecode
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ocmbytecode [2023/04/23 14:59] – [Opcodes 60..6F] nopsled | ocmbytecode [2023/04/23 15:05] (current) – [Preliminary documentation for "compat" module] nopsled | ||
---|---|---|---|
Line 1245: | Line 1245: | ||
This list shows an overview over the opcodes C2..E0 (from compat, a module inside init.ocm). The numbers are **relative** opcode numbers, i.e. the opcode minus the base opcode of C2. | This list shows an overview over the opcodes C2..E0 (from compat, a module inside init.ocm). The numbers are **relative** opcode numbers, i.e. the opcode minus the base opcode of C2. | ||
- | < | + | === Opcode 0xC2 (194): Extracts a subblob of a given (length) beginning at position (index) from blob (blob.part) === |
- | dd 0 (0xc2) ; DATA XREF: initproc: | + | If the length is -1, the subblob is taken until the end of the blob. |
- | dd offset BCX_00_Subblob ; DATA XREF: initproc+42r | + | stack input: string; index; length |
- | ; string index length -> substring | + | stack output: |
- | Marcus: If length == -1, take until end of blob. | + | |
+ | < | ||
dd 1 (0xc3) | dd 1 (0xc3) |
ocmbytecode.txt · Last modified: 2023/04/23 15:05 by nopsled