I think the existing FreeBASIC syntax is already very close to that:
&h12ef, &b1001111011.