how to get the title into task manger 'window'?
On 20/09/2018 20:58, Herbert Kleebauer wrote:
winmain::
Â*Â*Â*Â*Â*Â*Â* jsr.lÂ*Â* (GetCommandLine)
Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* Â*Â*Â*Â*Â*Â* ; skip program name
Â*Â*Â*Â*Â*Â*Â* eor.lÂ*Â* r1,r1Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* ; not within "" flag
Â*Â*Â*Â*Â*Â*Â* dec.lÂ*Â* r0
_20:Â*Â*Â* inc.lÂ*Â* r0
Â*Â*Â*Â*Â*Â*Â* cmp.bÂ*Â* #0,(r0)
Â*Â*Â*Â*Â*Â*Â* beq.bÂ*Â* _10
Â*Â*Â*Â*Â*Â*Â* cmp.bÂ*Â* #'"',(r0)
Â*Â*Â*Â*Â*Â*Â* bne.bÂ*Â* _30
Â*Â*Â*Â*Â*Â*Â* not.lÂ*Â* r1
_30:Â*Â*Â* or.lÂ*Â*Â* r1,r1
Â*Â*Â*Â*Â*Â*Â* bne.bÂ*Â* _20
Â*Â*Â*Â*Â*Â*Â* cmp.bÂ*Â* #' ',(r0)
Â*Â*Â*Â*Â*Â*Â* bne.bÂ*Â* _20
Â*Â*Â*Â*Â*Â*Â* inc.lÂ*Â* r0
_10:Â*Â*Â* move.lÂ* r0,-(sp)
Â*Â*Â*Â*Â*Â*Â* jsr.lÂ*Â* (GetConsoleWindow)
Â*Â*Â*Â*Â*Â*Â* move.lÂ* r0,-(sp)
Â*Â*Â*Â*Â*Â*Â* jsr.lÂ*Â* (SetWindowTextA)
Â*Â*Â*Â*Â*Â*Â* moveq.l #0,-(sp)
Â*Â*Â*Â*Â*Â*Â* jsr.lÂ*Â* (ExitProcess)Â*Â* ; exit program
Is that really what Intel assembler looks like nowadays?
Looks more like Motorola 68000 assembler to me.
--
Brian Gregory (in England).
|