Ich nehme an, x1, x2, x3 und x4 sollen 8 Bit breit sein?
Falls es in Bascom 32 Bit Variablen gibt und Bascom eine Schiebe-Operation (shift left, shl) kennt, dann:

Code:
x= x1 + (x2 shl 8) + (x3 shl 16) + (x4 shl 24)
ansonsten halt:

x= x1 + x2*256 + x3*2^16 + x4*2^24