Battle Tanks by P. Dring

Settings Objectives

Objectives

Help

Tanks are controlled with Little Man Computer processors. These processors are programmed with a limited number of low level instructions.

Click here for instructions, hints and tips

Instructions

InstructionMemory valueDescription
ADD1xxAdd the value stored at memory address xx to the value in the accumulator register
SUB2xxSubtract the value stored at memory address xx from the value in the accumulator register
STA3xxStore the value from the accumulator register to the memory address xx
LDA5xxLoad the value from the memory address xx into the accumulator register
BRA6xxBranch to xx (store xx in the program counter register so that the program will jump to xx on the next instruction cycle)
BRZ7xxBranch if the accumulator register stores the value zero, otherwise carry on as normal
BRP8xxBranch if the accumulator register stores zero or a positive number
INP9x1Read a value from the input device x and store it in the accumulator register
OUT9x2Send the contents of the accumulator register to the output device x
HLT000Halt / Stop the processor
DATxxxStores xxx in memory to be used as data

Settings

Choose how your tank should be controlled: manually or by a Little Man Computer CPU
Set how fast you want the CPU to run to control each tank.
Show or hide the name of each tank on the battle grid
Show or hide the amount of fuel underneath each tank on the battle grid
Show or hide the ammount of ammo remaining under each tank on the battle grid
Show or hide the list of all commands for each tank
Show or hide the grid lines