In OxygenBasic you can be very naughty with registers, and treat them as variables, as long as you know which get overwritten and when. The ebx,ebp,and esp registers should always be restored if asm instructions write to them.
Eax is a very busy register since it is used as the integer accumulator, but this works
eax=0x123
print hex eax
Charles