> I thought of doing something like a lookup table (with DT "String =20 > text..." etc) Neil, you didn't say which PIC. I wrote this macro for 18F http://www.piclist.com/techref/microchip/HV_PWM_Proto.htm ;macro display macro var ;load TBLPTR with string address movlw upper(var) movwf tblptru movlw high(var) movwf tblptrh movlw low(var) movwf tblptrl tblrd*+ call get_txt ;get and display characters endm ;example display title1 ;look-up get_txt movfw tablat ;get characters until btfsc wreg,7 ;W > 0x7f (ie FF terminator) return dispw ;print W tblrd*+ bra get_txt ;data org strings title1 db "* t1---------- *",0xff title2 db "* t2---------- *",0xff etc --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .