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.

Declaring Variables on Bank1 of PIC16F877A

Status
Not open for further replies.

neoaspilet11

Full Member level 5
Joined
Sep 29, 2005
Messages
277
Helped
29
Reputation
56
Reaction score
8
Trophy points
1,298
Location
Cebu, Philippines
Activity points
4,048
Hello Everybody,
Nee some help about this.

There is an array on RAM addresses 0x20 - 0x6F.
I have also an array a portion of bank1 and the whole bank2 and bank3.
The only free locations on the 877A are the locations A0 to B2 on Bank1
I already used up the RAM 0x70 - 0x7F (because these RAM locations do not require banking).

How do i declare a variable to be located at say for example address 0xA0? is it just

DUMMY equ 0xA0

Thanks

JAck
 

yes it is.and when u are declaring with PortA,PortB,TrisA,TrisB... these are like the names of the address it is using.u can see them declared in 877a.inc.
wish it is useful
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top