Jan-Erik Söderholmemail (remove spam text)
I think there are defaults for both the W and the A bit.
So, as long as the defaults match your needs, technically
you should not need to specify them. But of course, the
code gets clearer if they are spelled out...
Från: mit.edu [ piclist-bouncesmit.edu] För Anthony piclist-bounces
Skickat: den 27 september 2017 11:34
Till: Microcontroller discussion list - Public. <mit.edu> piclist
Ämne: [PIC] 18Fxxxx Instructions
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.
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
In reply to: <CADkYAvqqCvh0PDA7jnzYEkp54wyhu1a_LkNmm0_qJ1X_Oh8sug@mail.gmail.com>
See also: www.piclist.com/techref/microchip/devices.htm?key=18F
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the