Hello
I am Beginner in Assembly.

I Want write this program to Assembly:
int x,y,z,w;
w=x*y/z+14;

Help me.

Thank you.

.data?
    x    dd ?
    y    dd ?
    z    dd ?
    w    dd ?

.code
start:
    mov eax, x
    mul y
    div z
    add eax, 14
    mov w, eax
end start
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.