This is probably very simple, but seems rather perplexing. I have an old mega asm2 program that I'm moving over asap to the mega4808.
I can't find the bit names recognized by asm2 for this build. For example, if I want to turn on PB3:
ldi XL, (1<<PORTB3)
sts portb_dir, XL
This fails, it claims it doesn't know "PORTB3" (or the older "PB3" ) ...what is the correct term to use (what is pb3 called)
say I want to turn on PB3 & PB7 ,,,,typically you'd have
ldi XL, (1 <<PB3 ) | (1 << PB7) ...what is the newfangled name?