Welcome to the PAL-1 Assembler
Enter your program using PAL syntax, and click the "Assemble Program" button to assemble your code. You can then copy and paste the machine code into the PAL-1 Virtual Machine.
Each line must begin with an instruction, followed by all required parameters separated by spaces. Copy the example below to try it out.
Example to Compute and Display '5*7=35'
MOVIR #5 R0
MOVIR #7 R1
MULRR R0 R1
OUTI #5
OUTCI #42
OUTI #7
OUTCI #61
OUTR R1
HALT
Assembled Program: