assembler problem

Write a program that will work as follows: Define several constants, some with =, and others with EQU directive. In the definition to include characters and integer operators +, -, *, / and mod. Then, by using the mov move constants in 8 and 16-bit registers. Which MOV commands cause the problem?

Can someone help me ???



  • Like this?
    a = 1+2
    b = 5-3
    c equ (a*b)
    d equ (a/b)
    e = c mod 3

    mov al, a
    mov bx, e
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!


In this Discussion