Assembler
The assembler allows you to type complete programs in the BETRIC Assembly Language. When entered, the programs are automatically insterted for you into BETRIC's memory at address 0000. To run your program, simply type 'go' into BETRIC's command box and hit the enter button.
Assembly Entry
At-A-Glance Assembly Sheet:
(Click here for complete reference)HALTMVALM Memory position specified in BH+BLMVALA MVALBH MVALBL MVALC MVALD MTOMEM [A|BH|BL|C|D] Memory position specified in BH+BLMTOA 00MTOBH [A|BL|C|D|MEM*]MTOBL [A|BH|C|D|MEM*]MTOC [A|BH|BL|D|MEM*]MTOD [A|BH|BL|C|MEM*]*Memory position specified in BH+BL
INCAINCBHINBLINCCINCDJUMP Jumps to position specified in BH+BLLOOP Loops to position BH+BL, C number of times.DCHR Character A, column C, row DPRSTR String at BH+BL, ending in '00', column C, row DDCLR Color A, column C, row DCLRBLOCK Block of color A, column BH, row BL to column C, row DSTRING "your string" Assembly command to put a string in memory
