I found NPP exist a BUG. Example: create a text file and content as underside of code: --------------------------------------------------------
.MODEL SMALL, C .DATA buff DB "This is a example.", 0 .CODE Strlen PROC USES AX BX, String:PTR BYTE MOV BX, String XOR CX, CX MOV AL, [BX] .WHILE AL!=0 INC CX INC BX MOV AL, [BX] .ENDW RET Strlen ENDP .STARTUP INVOKE Strlen, ADDR buff .EXIT 0 END
--------------------------------------------
file rename as:test.asm,application throw exception when NPP open it. I think the BUG is caused by Assembly language plus.
Does this have anything to do with Plugin Development?
I found NPP exist a BUG.
Example:
create a text file and content as underside of code:
--------------------------------------------------------
.MODEL SMALL, C
.DATA
buff DB "This is a example.", 0
.CODE
Strlen PROC USES AX BX, String:PTR BYTE
MOV BX, String
XOR CX, CX
MOV AL, [BX]
.WHILE AL!=0
INC
CX
INC
BX
MOV
AL, [BX]
.ENDW
RET
Strlen ENDP
.STARTUP
INVOKE Strlen, ADDR buff
.EXIT 0
END
--------------------------------------------
file rename as:test.asm,application throw exception when NPP open it.
I think the BUG is caused by Assembly language plus.
Does this have anything to do with Plugin Development?