18.4.2 PORTB – The Port B Data Register

When using the I/O specific commands IN and OUT, the I/O addresses 0x00 - 0x3F must be used. When addressing I/O Registers as data space using LD and ST instructions, 0x20 must be added to these offset addresses.

Name: PORTB
Offset: 0x18
Reset: 0x00
Property: When addressing I/O Registers as data space the offset address is 0x38

Bit 76543210 
 PORTBn[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 7:0 – PORTBn[7:0] Port B Data [n = 7:0]