gnupic: banksel macro
Subject:
banksel macro
From:
Antonio A Todo Bom ####@####.####
Date:
14 Nov 2002 00:36:07 -0000
Message-Id: <20021113223104.022f8698.antonio@projetos.etc.br>
Hello,
I am using gpasm first time, and banksel macro was not found.
Is banksel out of service, or I don't know how to use?
I use it too much, then here is a example in a .LST generated by gpasm:
0101 00113 Option_ini:
00114 banksel OPTION_REG ;
M if ( registro & 0x80 )
0101 1683 M bsf STATUS, RP0
M else
M bcf STATUS, RP0
M endif
M
M if ( registro & 0x100 )
M bsf STATUS, RP1
M else
0102 1303 M bcf STATUS, RP1
M endif
0103 300F 00115 movlw option_reg_ini ; take value
0104 0081 00116 movwf OPTION_REG ; configure chip
Best regards,
Antonio Augusto Todo Bom Neto
LAX Eletronica e Telecomunicacoes Ltda
gEDA-BR - Users Group - http://gedabr.projetos.etc.br