intel MCS BASIC-52 — Intel MCS BASIC-52 Versions 1 & 1.1 Operating and Reference Manual PDF (EN)

int e l 1.4 OUICK REFERENCE STATEMENTS:

STATEMENT FUNCTION EXAMPLE(S) BAUD set baud rate for line printer port BAUD 1200 CALL CALL assembly language program CALL 9000H CLEAR CLEAR variables, interrupts and Strings CLEAR CLEARS CLEAR Stacks CLEARS CLEARI CLEAR Interrupts CLEARI CLOCK1 enable REAL TIME CLOCK CLOCK1 CLOCK0 disable REAL TIME CLOCK CLOCK0 DATA DATA to be read by READ statement DATA 100 READ READ data in DATA statement READ A RESTORE RESTORE READ pointer RESTORE DIM allocate memory for arrayed variables DIM A(20) DO set up loop for WHILE or UNTIL DO UNTIL test DO loop condition (loop if false) UNTIL A= 10 WHILE test DO loop condition (loop if true) WHILE A= B END terminate program execution END FOR-TO-{STEP} set up FOR-NEXT loop FOR A= 1 TO 5 NEXT test FOR-NEXT loop condition NEXT A - 178 -