Searching \ for '[PIC] 18Fxxxx Instructions' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=18F
Search entire site for: '18Fxxxx Instructions'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] 18Fxxxx Instructions'
2017\09\27@053334 by Anthony Nixon

picon face
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
-- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
mailman.mit.edu/mailman/listinfo/piclist
.

2017\09\27@055030 by Jan-Erik Söderholm

face picon face
Hi.

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...

Jan-Erik.




-----Ursprungligt meddelande-----
Från: spam_OUTpiclist-bouncesTakeThisOuTspammit.edu [.....piclist-bouncesKILLspamspam@spam@mit.edu] För Anthony
Nixon
Skickat: den 27 september 2017 11:34
Till: Microcontroller discussion list - Public. <piclistspamKILLspammit.edu>
Ämne: [PIC] 18Fxxxx Instructions

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
--
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
mailman.mit.edu/mailman/listinfo/piclist
.

2017\09\27@154448 by Anthony Nixon

picon face

Thanks :-)

Tony

On Wed, Sep 27, 2017 at 7:50 PM, Jan-Erik Söderholm
<.....jan-erik.soderholmKILLspamspam.....telia.com> wrote:
{Quote hidden}

--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
mailman.mit.edu/mailman/listinfo/piclist

2017\09\28@004842 by Anthony Nixon

picon face

Hi all,

I was trying to include EEPROM data from an include file which is
built by a Windows program I created to pack some data.

MPLABX is complaining that....

'.org_5' can not fit the absolute section

This is the offending org, which is just some basic data for testing

org  0xF00000
de 0x0000

This is what I understand the EEPROM declarations should be.

Any ideas?

cheers

Tony


On Thu, Sep 28, 2017 at 5:44 AM, Anthony Nixon <KILLspamtnixon059KILLspamspamgmail.com> wrote:
{Quote hidden}

--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
mailman.mit.edu/mailman/listinfo/piclist

2017\09\28@020512 by Anthony Nixon

picon face

Sorry, I jumped the gun on previous post.

I looked in the 18f4xK40 programming data sheet and it mentions
310000h as the EEPROM programming address start.

MPLABX seems to like that.

cheers

Tony

On Thu, Sep 28, 2017 at 2:48 PM, Anthony Nixon <tnixon059EraseMEspam.....gmail.com> wrote:
{Quote hidden}

--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
mailman.mit.edu/mailman/listinfo/piclist

More... (looser matching)
- Last day of these posts
- In 2017 , 2018 only
- Today
- New search...