Wednesday, June 23, 2010

8 bit multiplication

Buzz It
#make_COM#
; COM file is loaded at CS:0100h
ORG 100h
mov al,[1000h]
mov bl,[1001h]
mul bl
mov [1003h],al
hlt
Input
[1000H]=02
[1001H]=02
Output
[1003H]=04

0 comments:

Post a Comment