16 Bit Addition

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

.

global _c_int00
.mmregs
.data
opr1 .word 9234h
opr2 .word 8321h
.bss sum, 1
.text
_c_int00: stm #opr2,AR0
rsbx cpl
rsbx sxm
ld #0008h,DP
ld 0,A
add *AR0+,A
stm #sum,AR0
stl A,*AR0
halt: b halt
.end

You might also like