ld a,&46 ld bc,&0734 out (C),a ;write &46 to port &0734 if the ports are 16-bit. Otherwise, it writes to port &34.