N
N
Nolen2020-06-04 14:03:59
assembler
Nolen, 2020-06-04 14:03:59

Explain assembler?

Please help me explain verbatim what the "MOV DL, DS:[BP]" command will do
And please explain the equalities:
SEG (X + 10) = SEG X
OFFSET(X + 10) = OFFSET X + 10
TYPE (X + 10) = TYPE X

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2020-06-04
@saboteur_kiev

> MOV DL, DS:[BP]
The command doesn't look very good, because the BP register is usually used to work with the stack. But ok.
Actually take the value from the date segment, at the BP offset and put it in the DL register.

M
mayton2019, 2020-06-09
@mayton2019

Newbies don't understand. It seems to me that the study of this piece of code should begin with preconditions.
From context. Say something was ALREADY in memory and we continue the calculations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question