News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Fran123

comment a block with winape

Started by Fran123, 11:30, 16 April 21

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fran123

Hello


Do  you know how I you can comment a block with Winape?


I have to comment line by line, and it's a pain


Thank you

SRS

Using the WINAPE Assembler-File Editor : you can't - I am using "NOTEPAD++" and then load/copy&paste to winape if i need some "mass text processing"


Maybe using


"if 0" ... your not to assemble code ... "endif"


may help to get to the same result (not assembling the wanted lines).


See:



org &a000


ld a,7
call &bb5a
if 0


db 15
ldir
;nonsense
jr 0


endif


ret



assembles to




000001  0000  (A000)        org &a000
000003  A000  3E 07         ld a,7
000004  A002  CD 5A BB      call &bb5a
000005  A005  (0000)        if 0
000012  A005  (0000)        endif
000014  A005  C9            ret









Using the BASIC Editor of CPC: you can't

Powered by SMFPacks Menu Editor Mod