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.

What does __config 0x3D18 do in Assembly language?

Status
Not open for further replies.

lcs81

Member level 3
Joined
Aug 2, 2005
Messages
57
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,683
84_1178103868.jpg


https://obrazki.elektroda.pl/84_1178103868.jpg

----------------------------------------
Line 1 LIST p=16F877A
Line 2 include "P16F877A.inc"
Line 3 __config 0x3D18
----------------------------------------

What does the line 3 do?

What type of value we need to assign.

If we write a program in C, is line 2 necessary?[/img]
 

Some assemble code

this is actually for the configuration bits..
if you can have look at the configuration data.. u can understand what it is.
In C, if you can read the help on the compiler,it will tell you what to do about the configuration bits.

Added after 2 minutes:

Line 2 is not needed while writing in C
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top