Anthony Nixon
2017-09-27 09:33:31 UTC
Hi all,
It's been a long time since asking a question here :-)
I've started to use a 18F47K40 chip for a project and I'm still using
assembler for it.
In the other PIC families you could omit the destination bit (F) from
an instruction as the assembler sets it as default.
I gather this is not the case for 18F series when you can have a
destination and RAM access bit
Eg. ADDWF MyReg,W,A
Do all instructions have to be fully written in this way?
I am porting a 16F application to 18F because I need the extra ROM
space. If this is the case then I will have to rewrite and qualify
every instruction.
cheers
Tony
It's been a long time since asking a question here :-)
I've started to use a 18F47K40 chip for a project and I'm still using
assembler for it.
In the other PIC families you could omit the destination bit (F) from
an instruction as the assembler sets it as default.
I gather this is not the case for 18F series when you can have a
destination and RAM access bit
Eg. ADDWF MyReg,W,A
Do all instructions have to be fully written in this way?
I am porting a 16F application to 18F because I need the extra ROM
space. If this is the case then I will have to rewrite and qualify
every instruction.
cheers
Tony
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist