Page 1 of 1

16F54 Reset Vector

PostPosted: Thu Jul 08, 2021 5:03 pm
by CaliforniaSlacker
Why is the reset vector address 0x1FF?

ORG 0x1FF

Thanks!

Re: 16F54 Reset Vector

PostPosted: Fri Jul 09, 2021 4:03 am
by AussieSusan
By design.
The PC is reset to all '1's on reset.
The data sheet has all of this information in it.
Susan

Re: 16F54 Reset Vector

PostPosted: Fri Jul 09, 2021 8:09 pm
by CaliforniaSlacker
Thank you Susan

Good answer

Have another Baseline PIC question.

On the 10F200 datasheet there are the 202 204 and 206 too.

While they do add memory.

They also add a comparator.

Why are comparators important?

Thanks!

Bob

Re: 16F54 Reset Vector

PostPosted: Mon Jul 12, 2021 3:48 am
by AussieSusan
They are not if you don't want to use them.
However if you are (lets say) wanting to build a monitor for a battery and to know then it falls below some preset value, then the comparator will be useful for that. Basically it is used to compare two voltages and tells when one is above the other. What you use that information for is up to you.
Susan

Re: 16F54 Reset Vector

PostPosted: Mon Jul 12, 2021 6:03 am
by CaliforniaSlacker
Thank you Susan

Good answer.

Thanks again.

Bob