29 lines
633 B
JavaScript
29 lines
633 B
JavaScript
; -------------------------------------------------
|
|
; Constants
|
|
; -------------------------------------------------
|
|
|
|
; Chip register
|
|
include "../../../jasm/cregs.inc.jsm"
|
|
|
|
; -------------------------------------------------
|
|
; Program
|
|
; -------------------------------------------------
|
|
code
|
|
org 0x000
|
|
reset: jmp init
|
|
|
|
; -------------------------------------------------
|
|
; Main
|
|
; -------------------------------------------------
|
|
init: mov R0, 0x45
|
|
mov R1, 0xF5
|
|
|
|
call mul8x8
|
|
stop: jmp stop
|
|
|
|
|
|
; -------------------------------------------------
|
|
include "../../../jasm/mul8x8.inc.jsm"
|
|
|
|
|
|
|