Hexassembly

From Esolang
Jump to navigation Jump to search

Hexassembly is a golfing/assembly language by User:Hammy.

Instructions

This section is still a work in progress. It may be changed in the future.
Instruction (assembly) Instruction (binary) Instruction (golf) Instruction (practical) Meaning
00
00000000
(null)
;
Must be used after instructions.
01 to 1f
00000001 to 00011111
(soh) to (us)
none of these symbols are really used so they don't need actual symbols
NOP.
20 (x) (y)
00100000
(space)
(x) = (y)
Sets the variable x to y, declaring it if it doesn't exist yet.
21 (x) (y)
00100001
!
(x) += (y)
Adds the variable x to y and stores the result in x.