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.

Length of LCALL instruction in 8051?

Status
Not open for further replies.

nikhildascl

Full Member level 3
Joined
Apr 15, 2012
Messages
150
Helped
15
Reputation
30
Reaction score
14
Trophy points
1,318
Location
Kerala, India
Activity points
2,115
What is the maximum length of LCALL instruction. I faced a problem while coding with LCALL.
 

But I cannot understand the problem... When I called a Label lying on the 474th line from 19th line... It is not working. Please help..
 

Without your code is impossible to help you... Lcall have 16bit space and must work!
At end of your subroutine have you ret statement? ...and enough stack RAM?
 

Sorry my code is little big. I am using AT89S52. Will it cause any problem with stack pointer?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top