[Oberon] PO2013 - Real time measurement
Tomas Kral
thomas.kral at email.cz
Thu Apr 11 12:02:58 CEST 2019
On Thu, 11 Apr 2019 09:29:50 +0100
Paul Reed <paulreed at paddedcell.com> wrote:
> pi at raspberry:~ $ sudo apt-get install gputils
Thank you, offtopic slightly, just toying with `gpasm'.
Init bcf STATUS, RP0 ;bank0, default on poweron???
bcf STATUS, RP1
clrf PORTA ;all of porta low
clrf PORTB ;all of portb low
bsf STATUS, RP0 ;change to bank1
Message [302] Register in operand not in bank 0. Ensure bank bits are
correct.
clrf TRISA ;all of porta outputs
Message [302] Register in operand not in bank 0. Ensure bank bits are
correct.
clrf TRISB ;all of portb outputs
bcf STATUS, RP0 ;back to bank0
return
While this shuts above messages off `gpasm -w1 my.asm', just wonder, am
I really in the wrong bank?
--
Tomas Kral <thomas.kral at email.cz>
More information about the Oberon
mailing list