Looks interesting John,
OxygenBasic has no obfuscation mechanism to deliberately frustrate the decomposition of its binaries, so they should be okay for this tool.
o2 has its own tools for exposing opcodes and assembler. The most useful is #show which will display the intermediate and assembly codings of a single line of Basic.
dim int a,b,c,d
#show print a*b+c*d
>>>>
|va 7 8 _tmp1
|va 7 8 _tmp2
|op 1 4 [ebx+0x1000]
|op 2A 4 [ebx+0x1004]
|op 2 4 [ebx+0x1010]
|op 1 4 [ebx+0x1008]
|op 2A 4 [ebx+0x100C]
|op 2 4 [ebx+0x1018]
|op 1 4 [ebx+0x1010]
|op 2B 4 [ebx+0x1018]
|cv 4 A1
|go 0 [ebx+0x8B0]
|op 4 A1
|ch 1
|go 0 [ebx+2496]
|go 0 [ebx+0x838]
>>>>
mov eax,[ebx+0x1000]
imul dword [ebx+0x1004]
mov [ebx+0x1010],eax
mov eax,[ebx+0x1008]
imul dword [ebx+0x100C]
mov [ebx+0x1018],eax
mov eax,[ebx+0x1010]
add eax,[ebx+0x1018]
push eax
fild dword [esp]
add esp,4
call [ebx+0x9D8]
call [ebx+0x8B0]
push eax
mov dl,1
call [ebx+2496]
call [ebx+0x838]
In the next o2 update, it will be possible to store the #show code into a text-file like this:
#show "s.txt" print a*b+c*d