Hi John,
I would use that Oxygen program to test the binary output file from your linker. I think getting involved with C modules would be too cumbersome.
I had difficulties getting SB to convert hexadecimal strings to values >9
SB
'TEST HEXADECIMAL TO BINARY CONVERSION IN SB
s="B8 04 03 02 01 c3"
le=len(s)
i=1
j=1
while i<le
w="0x"+mid(s,i,2)
print val(w) & " "
v[j]=chr(w)
i+=3
j+=1
wend
op=join("",v)
print " " & len(op) & " >> "
for i=1 to len(op)
print hex(asc(mid(op,i,1))) & " "
next
line input z
Charles