-
Notifications
You must be signed in to change notification settings - Fork 0
/
NUMS.asm
89 lines (88 loc) · 889 Bytes
/
NUMS.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
NUM_0
MOVLW 0x3F
MOVWF PORTB
RETURN
NUM_1
MOVLW 0x06
MOVWF PORTB
RETURN
NUM_2
MOVLW 0x5B
MOVWF PORTB
RETURN
NUM_3
MOVLW 0x4F
MOVWF PORTB
RETURN
NUM_4
MOVLW 0x66
MOVWF PORTB
RETURN
NUM_5
MOVLW 0x6D
MOVWF PORTB
RETURN
NUM_6
MOVLW 0x7D
MOVWF PORTB
RETURN
NUM_7
MOVLW 0x07
MOVWF PORTB
RETURN
NUM_8
MOVLW 0x7F
MOVWF PORTB
RETURN
NUM_9
MOVLW 0x67
MOVWF PORTB
RETURN
NUM_A
MOVLW 0x77
MOVWF PORTB
RETURN
NUM_B
MOVLW 0x7C
MOVWF PORTB
RETURN
NUM_C
MOVLW 0x39
MOVWF PORTB
RETURN
NUM_D
MOVLW 0x5E
MOVWF PORTB
RETURN
NUM_E
MOVLW 0x79
MOVWF PORTB
RETURN
NUM_F
MOVLW 0x71
MOVWF PORTB
RETURN
NUM_PL
MOVLW 0x40
MOVWF PORTB
RETURN
NUM_MN
MOVLW 0x70
MOVWF PORTB
RETURN
NUM_ML
MOVLW 0x36
MOVWF PORTB
RETURN
NUM_DV
MOVLW 0x06
MOVWF PORTB
RETURN
NUM_EQ
MOVLW 0x41
MOVWF PORTB
RETURN
NUM_ERS
MOVLW 0x00
MOVWF PORTB
RETURN