Assembely
Assembely
This is a fun modification of AMD64 assembly language to look quirky. "Assembely" is a typo of "Assembly" word.
MOV Operation
This operation allows to change a register, which can used as a flag.
Syntax: MOV x, y
Operation: Rx = y (There are 32-bit R0-R31 registers)
Flags:
R0 become 255 - Prints a ASCII/Unicode character with ASCII code in R31. Affect that, R0 will become 0.
R1 become 255 - Clears all registers to 0
R2 become 255 - Sets R30 to ASCII code of R29th character of input, and characters in input are 0-indexed.
INT Operation
Syntax: INT x
Operation: Varies based on value of X.
Meaning of X input:
10 - Halts program
11 - Jumps at address 0 (first command)
12 - Hangs program (infinite loop)
RDM Operation
Reads value of a memory address to a register.
Syntax: RDM x, y
Operation: Ry = Value in memory address x
WRM Operation
Writes to a memory with specified address.
Syntax: WRM x, y
Operation: Memory address X = Y
INCR Operation
Increases a value of a register.
Syntax: INCR x, y
Operation: Rx = Rx + Y
DECR Operation
Decreases a value of a register.
Syntax: DECR x, y
Operation: Rx = Rx - Y
DECM Operation
Decreases a value of a memory address.
Syntax: DECM x, y
Operation: Memory address X = Memory address X - Y
INCM Operation
Increases a value of a memory address.
Syntax: INCM x, y
Operation: Memory address X = Memory address X + Y
ABT Operation
Gets about the system. R10 become architecture of system, R11 become Pentium version of system CPU, R12 will equal how many megabytes of RAM installed. So, R10 equal to 64, R11 become 4, and R12 become 32.
Syntax: ABT
Operation: R10 = 64 | R11 = 4 | R12 = 32
WAIT Operation
Hangs program for a specified number of seconds in R16.
Syntax: WAIT
Operation: HANG R16s
LWAIT Operation
Hangs program for a specified number of hours in R16.
Syntax: LWAIT
Operation: HANG R16hrs
Programs
Feel free everyone to add programs, but do not delete them.
There's no program currently.