assembly prob

I am a college student working on a homework problem. I have to write an assembly language prog that will add together the two signed 8-bit numbers stored in locations referred to by first_no and second_no, and print out the answer in decimal including either a + or - sign. example it should print like this -123. i have this much code
DSEG SEGMENT
ARRAY DW 9D DUP(?)
MOV DL, 2
MOV CL, 9
MOV BX OFFSET ARRAY
MOV AL, 2
Again: MUL DL
SUB AX, 1
MOV BX, AX
INC BX
INC BX
DEC CL
JG AGAIN

and i'm stuck, can someone help me
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories