def out(address, data):
 global dataReg
 global ctrlReg
 if (address == baseAddress):
  dataReg = data
 elif (address == ctrlRegAdrs):
  ctrlReg = data
 port.DlPortWritePortUchar(address, data)

def out ( address , data ) : global dataReg global ctrlReg if ( address == baseAddress ) : dataReg = data elif ( address == ctrlRegAdrs ) : ctrlReg = data port . DlPortWritePortUchar ( address , data )
the usual out function .