R32V2020 Seven Segment Display

From Land Boards Wiki
Jump to navigation Jump to search

Seven Segment Displays

  • Some cards have four seven segment digit displays
  • Other cards have eight seven segment digit displays
    • A4-CE6 and A4-CE10 cards have eight digits

Sample Code

;
; wr7Seg8Dig
; The digits of the seven segment display
; r8 is the long value to put on the display
;

wr7Seg8Dig:
	push	PAR
	lix		PAR,0x3000	; Seven Segment Display port
	spl		r8			; Output bit
	pull	PAR
	pull	PC