what is output command in assembly language
Hello,
i am completely new to Assembly Language. So please bear with me. This is completely noob question but will anybody please help me
i want to know what is the output statement in Assembly Language. Like in C we have printf and in C++ we have cout so which exactly is the command in Assembly???
i'm trying to copy the contents of 1st array to 2nd array. This is my code
.model small
.stack 64
.data
d1 db 01,02,03,04
d2 db 4 dup(?)
.code
mov ax,@data
mov ds,ax
mov cx,4
lea si,d1
lea bx,d2
up:
mov al,[si]
mov [bx],al
inc si
inc bx
dec cx
jnz up
int 3
end
now how can i know that the d2 array has contents of d1???i mean how can i check whether my program is right or wrong?Pleasee help me
|