Reassemble modified code from IDE
Posted: Sat Nov 28, 2015 1:55 pm
Friendly greetings \o/
When i work on a project a create 2 additionnal executable : produce-asm.exe and reassemble.exe.
They are just calling the pb compiler with the right option :
- to produce a .asm file
- to compile the asm code i just modified in a .exe
It can totally easily be done from shell but.... windows
I'd love to have 2 buttons :
- create .asm
- raessemble
Here is the header of my code :
I uncomment the 1st and 3rd line then compile to "create-asm.exe"
I do the same thing for 2nd and 3rd then compile to "reassemble.exe"
After than i keep all 3 line commented and i write my application code
The feature would save me this, no big deal if it's not implemented
When i work on a project a create 2 additionnal executable : produce-asm.exe and reassemble.exe.
They are just calling the pb compiler with the right option :
- to produce a .asm file
- to compile the asm code i just modified in a .exe
It can totally easily be done from shell but.... windows

I'd love to have 2 buttons :
- create .asm
- raessemble
Here is the header of my code :
Code: Select all
;RunProgram(#PB_Compiler_Home+"\Compilers\pbcompiler.exe", Chr(34)+ "E:\purebasic\buddhabrot3\main.pb" + Chr(34) + " /COMMENTED /SSE2 /EXE " + Chr(34)+ "E:\purebasic\buddhabrot3\buddha3.exe" +Chr(34) , "", #PB_Program_Open|#PB_Program_Read|#PB_Program_Hide)
;RunProgram(#PB_Compiler_Home+"\Compilers\pbcompiler.exe", Chr(34)+ "E:\purebasic\buddhabrot3\main.pb" + Chr(34) + " /REASM /SSE2 /EXE " + Chr(34)+ "E:\purebasic\buddhabrot3\buddha3.exe" +Chr(34) , "", #PB_Program_Open|#PB_Program_Read|#PB_Program_Hide)
;Return
I do the same thing for 2nd and 3rd then compile to "reassemble.exe"
After than i keep all 3 line commented and i write my application code

The feature would save me this, no big deal if it's not implemented
