Instruction to add value to AX

Asked

Viewed 447 times

13

What command/syntax to use to set the value 55d in the AX register?

  • 2

    I do not understand why you would close the question for that reason. @Luciano include the code you have and explain better what you want to do, so it is difficult to help with so little information.

  • 1

    @Jorgeb. Neither. So I edited it and voted to reopen it.

  • 2

    Normally each Assembly is linked to a specific architecture (what is yours? ) and the notation may also vary with the Assembler that will process it (which tool?)

1 answer

14

Without more information, I’d say you want it and the instruction MOV:

MOV AX, 55d

Browser other questions tagged

You are not signed in. Login or sign up in order to post.