D
D
Dizzer002021-11-12 13:49:13
assembler
Dizzer00, 2021-11-12 13:49:13

How to display the numerical value of emu8086?

How can I print vec3 to the console?

jmp start
vec1 db 1, 2, 5, 6
vec2 db 3, 5, 3, 1
vec3 db ?, ?, ?,?
start:
lea si, vec1
lea bx, vec2
lea di, vec3
mov cx, 4
sum:
    mov al, [si]
    add al, [bx]
    mov [di], al
    inc si
    inc bx
    inc di
    loop sum
ret

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question