Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
projects:electronics:7segdisplay [2009/01/11 23:07] – photonicsguy | projects:electronics:7segdisplay [2014/11/13 14:28] – photonicsguy | ||
---|---|---|---|
Line 17: | Line 17: | ||
====== Constants ====== | ====== Constants ====== | ||
- | <code assembly> | + | <file mpasm saa1065const.asm> |
; SAA1064 Constants | ; SAA1064 Constants | ||
SAA1064ADDRESS EQU B' | SAA1064ADDRESS EQU B' | ||
Line 24: | Line 24: | ||
SAA1064SEGDP EQU B' | SAA1064SEGDP EQU B' | ||
SAA1064SEGJ EQU B' | SAA1064SEGJ EQU B' | ||
- | </code> | + | </file> |
====== PIC18 assembly code lookup table ====== | ====== PIC18 assembly code lookup table ====== | ||
- | <code asm> | + | <file mpasm saa1065lookup.asm> |
;Lookup Table for 7-seg | ;Lookup Table for 7-seg | ||
;TODO Add test to make sure number is 0x0F or below | ;TODO Add test to make sure number is 0x0F or below | ||
Line 57: | Line 57: | ||
RETLW B' | RETLW B' | ||
;End of Lookup | ;End of Lookup | ||
- | </code> | + | </file> |
- | |||
- | {{backlinks> |