29 lines
534 B
Plaintext
29 lines
534 B
Plaintext
|
snippet detports
|
||
|
.equ ADDR_BASE, 0xBF88
|
||
|
.equ TRISB, 0x6040
|
||
|
.equ PORTB, 0x6050
|
||
|
.equ LATB, 0x6060
|
||
|
.equ TRISC, 0x6080
|
||
|
.equ PORTC, 0x6090
|
||
|
.equ LATC, 0x60A0
|
||
|
.equ TRISD, 0x60C0
|
||
|
.equ PORTD, 0x60D0
|
||
|
.equ LATD, 0x60E0
|
||
|
.equ TRISE, 0x6100
|
||
|
.equ PORTE, 0x6110
|
||
|
.equ LATE, 0x6120
|
||
|
|
||
|
snippet detsyscalls
|
||
|
.equ INKEY, 1
|
||
|
.equ GETCHAR, 2
|
||
|
.equ PUTCHAR, 3
|
||
|
.equ READ_INT, 4
|
||
|
.equ READ_INT10, 5
|
||
|
.equ PRINT_INT, 6
|
||
|
.equ PRINT_INT10, 7
|
||
|
.equ PRINT_STR, 8
|
||
|
.equ READ_STR, 9
|
||
|
.equ EXIT, 10
|
||
|
.equ READ_CORE_TIMER, 11
|
||
|
.equ RESET_CORE_TIMER, 12
|