You are on page 1of 1

/*lcd out is the macro which output strings or characters to lcd*/ LCD_OUT MACRO STRING IRPC CHAR, <STRING>

IF NUL 'CHAR' EXITM ELSEIF '~' NE 'CHAR' MOV A,#'CHAR' LCALL lcd_data ELSE MOV A,#0C0H LCALL COMMAND ENDIF ENDM ENDM

/*set pos is a macro which set the lcd cursor to the given location*/ SET_POS MACRO POST MOV A,#POST ACALL COMMAND ENDM

You might also like