BETRIC - Under Construction As We Speak

Briefly Exists To Run Instruction Code

This is a virtual computer in PHP. To get started, try the documentation:
Quickstart Tutorial
Machine/Assembly Language Reference
Command Reference

================================================================================
 
                        
*
                        
*
                        
*
                        
*
                        
*
                        
Welcome to Dave's BETRIC computer!
                        
Version 0.1.3
                        
*
                        
*
                        
*
                        
*
                        
*
                        
*
                        
*
                        
*
                        
*
 
 
 
================================================================================
Your command:

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)
HALT
MVALM Memory position specified in BH+BL
MVALA
MVALBH
MVALBL
MVALC
MVALD
MTOMEM [A|BH|BL|C|D] Memory position specified in BH+BL
MTOA 00
MTOBH [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
INCA
INCBH
INBL
INCC
INCD
JUMP Jumps to position specified in BH+BL
LOOP Loops to position BH+BL, C number of times.
DCHR Character A, column C, row D
PRSTR String at BH+BL, ending in '00', column C, row D
DCLR Color A, column C, row D
CLRBLOCK Block of color A, column BH, row BL to column C, row D
STRING "your string" Assembly command to put a string in memory