bird-vm/scratchpad.txt

84 lines
1.1 KiB
Plaintext

/*
0000 0000 set
0000 0001 get
0000 0010 sei
0000 0011 gei
0000 0100 nop
0000 0101 nop
0000 0111 nop
0000 1000 psh
0000 1001 pop
0000 1010 ovr
0000 1011 swp
0000 1100 rot
0000 1101 dup
0000 1111 nop
0001 0000 add
0001 0001 sub
0001 0010 mul
0001 0011 div
0001 0100 inc
0001 0101 dec
0001 0111 nop
0001 1000 and
0001 1001 bor
0001 1010 xor
0001 1011 not
0001 1100 shr
0001 1101 shl
0001 1111 eql
0010 0000 jmp
0010 0001 cal
0010 0010 jcd
0010 0011 ret
0010 0100 nop
0010 0101 nop
0010 0111 nop
0010 1000 gch
0010 1001 gst
0010 1010 pch
0010 1011 pst
0010 1100 hlt
0010 1101 nop
0010 1111 nop
0011 0000 grt
0011 0001 lst
0011 0010 gte
0011 0011 lte
0011 0100 eql
0011 0101 neq
...
1000 0000 set2
1000 0001 get2
1000 0010 sei2
1000 0011 gei2
1000 1000 psh2
1000 1001 pop2
1000 1010 ovr2
1000 1011 swp2
1000 1100 rot2
1000 1101 dup2
1001 0000 add2
1001 0001 sub2
1001 0010 mul2
1001 0011 div2
1001 0100 inc2
1001 0101 dec2
1001 1000 and2
1001 1001 bor2
1001 1010 xor2
1001 1011 not2
1001 1100 shr2
1001 1101 shl2
1001 1111 eql2
1010 0000 jmp2
1010 0001 cal2
1010 0010 jcd2
1010 0011 ret2
1010 0100 nop
1010 0101 nop
1010 0111 nop
...
*/