Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

16-bit Real Mode Flat Model Nasm and Nasm-ide

Status
Not open for further replies.

SaithDagger

Programmer
Jul 24, 2010
2
0
0
US
Hey. Another question, and one that I likely won't be able to answer for myself tonight.

In Masm, code is acceptable as:

NUMADDR EQU [BP+6] ; address to store result
BUFFER EQU [BP+4] ; address to store input buffer

Whereas, in Nasm, this is unacceptable due to the assembly reading over this and needing an exact value first before assembling. What is the best work around for this?

Note: This is the first time either of these variables are inputted into the program. They are structured inside procedures.

Thanks in advance!

-SaithDagger

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top