A
A
Alertoso2021-04-03 12:37:27
assembler
Alertoso, 2021-04-03 12:37:27

How can you use the stos instruction?

Friends, help me deal with such an instruction as stos, how can I transfer this (the value from ax to the first variable):
mov first, ax
And then put the first value back into ax (as I understand it, the usual mov is also possible here):
mov ax, first

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-04-03
@freeExec

By setting the value of the registers es:dito the address of your variable. But the question is out of touch with reality. This thing is used to process arrays in a loop, because it itself moves the pointer to the next element.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question