~starkingdoms/starkingdoms

ref: 3aca67bf85e575525eae5b36a391d269d9af46b3 starkingdoms/kabel/opcodes.txt -rw-r--r-- 268 bytes
3aca67bf — ghostly_zsh run if statements 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
CONSTANT VAL ; 0x00
ADD ; 0x01
SUB ; 0x02
MUL ; 0x03
DIV ; 0x04
MOD ; 0x05
BITAND ; 0x06
BITXOR ; 0x07
BITOR ; 0x08
EQ ; 0x09
NE ; 0x0A
GR ; 0x0B
GE ; 0x0C
LS ; 0x0D
LE ; 0x0E
OR ; 0x0F
AND ; 0x10

NOT ; 0x11
NEG ; 0x12

JMP LOC ; 0x13
IF_NE ELSE ; 0x14

PRINT ; 0xFF