Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I have a hex file
:020000040000FA
:0A0000004028000000000000D42892
:1000800064008B13A020C73095003C308C000330F7
:1000900096004A3099009101A3209701A6208C0177
:1000A0009E208B01AC20AC209120A9209116111626
:1000B0009301A02017149E20B401B601B501A92018
:1000C00093019E208B170B168B15640063000000B4...
Hello
I have a program and a ready hex file. in my folder.
First help me in process of simulation of program - how to perform simulation ,things i will need etc sharing a basics level link will be appericiated .
I want to burn PIC 12F1822 with the said file i have.
What i really want to know is...
An any one ex[plain why masking is done here what is the use of it here ?
movlw 0x07
andwf SecCntr,f ;mask unused bits first
decfsz SecCntr,f
goto DelayXSec_2
return
initialisation :
clrwdt
bcf INTCON,GIE
how about these two instruction what does it actually do in my initialisation step. I am figuring out code for automatic (touchfree) tap(faucet) using PIC to set valve on and off
its 12 F1822 and i did but i want to know .... it says that rising edge is used for external interrupt then y it is used here what is the use of it .
This instruction moves the data of w register into OPTION_REG (option register) ().so now option register has value C7 in it
OPTION_REG =...
The Status of each and every register on power up is shown in a list in the 1822 manual.
I searched datasheet but what i find is just table of instruction set befor instruction description at last pages
Can u give me link of the one u mentioning
WTemp equ 0x33
StatusTemp equ 0x32
IntStat equ 0x34
movwf WTemp ;save W register (what is the content of w to consider here or content of Wtemp which is tempory register)
swapf...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.