I'm trying to convert a x86 assembly language program to binary. I have read a 1979 Intel 8086 manual and so understand the basic architecture, however I am still unsure as to how to convert this. Here's the code:
MOV BX, 1300H                          ; Load the Base Address 1st input Matrix in BX
MOV BP, 1400H                          ; Load the Base Address 2nd input Matrix in BP
MOV SI,0001H                           ; Initialize pointer for element of matrix
MOV DI,1501H                           ; Set DI register as pointer for sum matrix
MOV CL,09H                             ; Set CL as count for element in Matrix
REPEAT:
MOV AL,[BX+SI]                         ; Get the element of 1st Matrix in AL
ADD AL,[BP+SI]                         ; Add corresponding element of 2nd Matrix to AL
MOV [DI],AL                            ; Store the Sum of element in Memory
INC SI                                 ; Increment the Pointers
INC DI                                 ;
LOOP REPEAT                            ; Repeat the Addition until count is zero
HLT     
