1
GCASM List File (GCBASIC 0.95 2016-01-24)
61
BASPROGRAMSTART EQU 52
459
SEVENSEGDISPDIGIT EQU 178
507
SysWaitTempMS EQU r29
508
SysWaitTempMS_H EQU r30
510
TABLESEVENSEGDISPDIGIT EQU 189
696
Loc Obj Code Original Assembly
698
000000 C033 RJMP BASPROGRAMSTART
753
000034 E058 LDI SYSVALUECOPY,HIGH(RAMEND)
754
000035 BF5E OUT SPH, SYSVALUECOPY
755
000036 EF5F LDI SYSVALUECOPY,LOW(RAMEND)
756
000037 BF5D OUT SPL, SYSVALUECOPY
757
000038 D072 RCALL INITSYS
758
000039 D068 RCALL INITSEVENSEG
760
00003A EF5F LDI SYSVALUECOPY,255
761
00003B B954 OUT DDRB,SYSVALUECOPY
762
00003C 9A51 SBI DDRD,1
763
00003D E050 LDI SYSVALUECOPY,0
764
00003E 9350 0103 STS TEMP,SYSVALUECOPY
766
000040 E051 LDI SYSVALUECOPY,1
767
000041 9350 0101 STS DISPPORT,SYSVALUECOPY
768
000043 9150 0103 LDS SYSVALUECOPY,TEMP
769
000045 9350 0100 STS DISPCHAR,SYSVALUECOPY
770
000047 D01D RCALL DISPLAYVALUE
771
000048 EFDA LDI SYSWAITTEMPMS,250
772
000049 E0E0 LDI SYSWAITTEMPMS_H,0
773
00004A D04B RCALL DELAY_MS
774
00004B EFDA LDI SYSWAITTEMPMS,250
775
00004C E0E0 LDI SYSWAITTEMPMS_H,0
776
00004D D048 RCALL DELAY_MS
777
00004E 9010 0103 LDS SYSTEMP1,TEMP
778
000050 9413 INC SYSTEMP1
779
000051 9210 0103 STS TEMP,SYSTEMP1
780
000053 E069 LDI SYSCALCTEMPA,9
781
000054 91C0 0103 LDS SYSCALCTEMPB,TEMP
782
000056 176C CP SYSCALCTEMPA,SYSCALCTEMPB
783
000057 F448 BRSH ENDIF1
784
000058 EFDA LDI SYSWAITTEMPMS,250
785
000059 E0E0 LDI SYSWAITTEMPMS_H,0
786
00005A D03B RCALL DELAY_MS
787
00005B EFDA LDI SYSWAITTEMPMS,250
788
00005C E0E0 LDI SYSWAITTEMPMS_H,0
789
00005D D038 RCALL DELAY_MS
790
00005E E050 LDI SYSVALUECOPY,0
791
00005F 9350 0103 STS TEMP,SYSVALUECOPY
793
000061 CFDE RJMP MAIN
794
000062 C000 RJMP BASPROGRAMEND
797
000064 CFFE RJMP BASPROGRAMEND
801
000065 9010 0100 LDS SYSTEMP1,DISPCHAR
802
000067 9413 INC SYSTEMP1
803
000068 2DA1 MOV SYSSTRINGA,SYSTEMP1
804
000069 D048 RCALL SEVENSEGDISPDIGIT
805
00006A 9200 0102 STS DISPTEMP,SYSBYTETEMPX
806
00006C 9828 CBI PORTB,0
807
00006D 9829 CBI PORTB,1
808
00006E 982A CBI PORTB,2
809
00006F 982B CBI PORTB,3
810
000070 982C CBI PORTB,4
811
000071 982D CBI PORTB,5
812
000072 982E CBI PORTB,6
813
000073 9859 CBI PORTD,1
814
000074 9160 0101 LDS SYSCALCTEMPA,DISPPORT
815
000076 3061 CPI SYSCALCTEMPA,1
816
000077 F409 BRNE ENDIF2
817
000078 9A59 SBI PORTD,1
819
000079 9050 0102 LDS SYSBITTEST,DISPTEMP
820
00007B FC50 SBRC SYSBITTEST,0
821
00007C 9A28 SBI PORTB,0
822
00007D 9050 0102 LDS SYSBITTEST,DISPTEMP
823
00007F FC51 SBRC SYSBITTEST,1
824
000080 9A29 SBI PORTB,1
825
000081 9050 0102 LDS SYSBITTEST,DISPTEMP
826
000083 FC52 SBRC SYSBITTEST,2
827
000084 9A2A SBI PORTB,2
828
000085 9050 0102 LDS SYSBITTEST,DISPTEMP
829
000087 FC53 SBRC SYSBITTEST,3
830
000088 9A2B SBI PORTB,3
831
000089 9050 0102 LDS SYSBITTEST,DISPTEMP
832
00008B FC54 SBRC SYSBITTEST,4
833
00008C 9A2C SBI PORTB,4
834
00008D 9050 0102 LDS SYSBITTEST,DISPTEMP
835
00008F FC55 SBRC SYSBITTEST,5
836
000090 9A2D SBI PORTB,5
837
000091 9050 0102 LDS SYSBITTEST,DISPTEMP
838
000093 FC56 SBRC SYSBITTEST,6
839
000094 9A2E SBI PORTB,6
844
000096 95E3 INC SYSWAITTEMPMS_H
846
000097 EFAE LDI DELAYTEMP2,254
848
000098 E194 LDI DELAYTEMP,20
850
000099 959A DEC DELAYTEMP
851
00009A F7F1 BRNE DMS_INNER
852
00009B 95AA DEC DELAYTEMP2
853
00009C F7D9 BRNE DMS_OUTER
854
00009D 95DA DEC SYSWAITTEMPMS
855
00009E F7C1 BRNE DMS_START
856
00009F 95EA DEC SYSWAITTEMPMS_H
857
0000A0 F7B1 BRNE DMS_START
862
0000A2 9A20 SBI DDRB,0
863
0000A3 9A21 SBI DDRB,1
864
0000A4 9A22 SBI DDRB,2
865
0000A5 9A23 SBI DDRB,3
866
0000A6 9A24 SBI DDRB,4
867
0000A7 9A25 SBI DDRB,5
868
0000A8 9A26 SBI DDRB,6
869
0000A9 9A51 SBI DDRD,1
874
0000AB E050 LDI SYSVALUECOPY,0
875
0000AC B955 OUT PORTB,SYSVALUECOPY
876
0000AD E050 LDI SYSVALUECOPY,0
877
0000AE B958 OUT PORTC,SYSVALUECOPY
878
0000AF E050 LDI SYSVALUECOPY,0
879
0000B0 B95B OUT PORTD,SYSVALUECOPY
884
0000B2 31A1 CPI SYSSTRINGA, 17
885
0000B3 F010 BRLO PC + 3
886
0000B4 2400 CLR SYSBYTETEMPX
888
0000B6 E7EA LDI SYSREADA, LOW(TABLESEVENSEGDISPDIGIT<<1)
889
0000B7 E0F1 LDI SYSREADA_H, HIGH(TABLESEVENSEGDISPDIGIT<<1)
890
0000B8 0FEA ADD SYSREADA, SYSSTRINGA
891
0000B9 F408 BRCC PC + 2
892
0000BA 95F3 INC SYSREADA_H
895
TABLESEVENSEGDISPDIGIT
896
0000BD 3F10 5B06 664F 7D6D 7F07 776F 397C 795E 0071 RAW 3F10,5B06,664F,7D6D,7F07,776F,397C,795E,0071