fix: fixed immediate values
This commit is contained in:
@@ -13,18 +13,18 @@
|
||||
ORG ROM_BASE
|
||||
|
||||
RESET
|
||||
lda %11000001 ; 8n1 serial, enable DLAB
|
||||
lda #%11000001 ; 8n1 serial, enable DLAB
|
||||
sta UART_LCR
|
||||
|
||||
lda $00 ; Set divisor to 12 (9600 baud)
|
||||
lda #$00 ; Set divisor to 12 (9600 baud)
|
||||
sta UART_DLL
|
||||
lda $0C
|
||||
lda #$0C
|
||||
sta UART_DLM
|
||||
|
||||
lda %11000000 ; 8n1 serial, disable DLAB
|
||||
lda #%11000000 ; 8n1 serial, disable DLAB
|
||||
sta UART_LCR
|
||||
|
||||
lda %01000000 ; Enable RTS
|
||||
lda #%01000000 ; Enable RTS
|
||||
sta UART_MCR
|
||||
|
||||
lda 'H ; send 'H'
|
||||
|
Reference in New Issue
Block a user