Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HELP!!!!! About Function Parameters' Memory Type?

Status
Not open for further replies.

Thomson

Full Member level 3
Joined
Oct 15, 2004
Messages
181
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Activity points
2,400
Hi,
At first, the SMALL compile memory model is used, which of course the internal data is used.

However since the memory space is not enough for current project development; the LARGE compile memory model is used.

In order to enhance the code speed as much as possible, the memory type on the passing parameter is used; however the external memory address is still used (here @DPTR register is used). Of course, the memory type does have effect on the pointer parameter!


I'd like to know whether the un-pointer parameters' meomry addresses can only be determined by the compile meomry model and cannot be overriden by the meomry type specifier!

Thomson
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top