Download Pelles C here: http://www.pellesc.se
Quote from: ander_cc on April 27, 2026, 03:38:57 AMIf I want to use "Surround by" and "Comment" and "No comment", I should select a line first.Why? I don't see the point.
Could you add a "auto select current line" feature?
Quote from: ander_cc on April 27, 2026, 03:38:57 AMCould you add some shortcuts for "Surround by" and "Comment" and "No comment" ?"Tools" -> "Customize" -> "Keyboard" --> "Source" is a good start.
Quote from: ander_cc on April 27, 2026, 03:38:57 AMI want to use $0 twice or more. Could you add it?Again, why? You can only surround something once...
You cannot view this attachment.
.386
.model flat,stdcall
option casemap:none
include SMCtest.inc
.data
str1 db '80 + 20 = %u',0
.code
start:
call main
invoke ExitProcess,0
main PROC USES esi edi ebx
LOCAL pMem:DWORD
invoke VirtualAlloc,0,4096,\
MEM_COMMIT or MEM_RESERVE,\
PAGE_EXECUTE_READWRITE
mov pMem,eax
mov edi,eax
mov esi,OFFSET Calculate
mov ecx,ProcLen
rep movsb ; Copy the procedure Calculate
; to virtual address space
lea ecx,[eax+4]
; Modify the procedure
mov BYTE PTR [ecx],_ADD
push 80
push 20
call eax
invoke printf,ADDR str1,eax
invoke VirtualFree,pMem,0,MEM_RELEASE
ret
main ENDP
OPTION PROLOGUE:NONE
OPTION EPILOGUE:NONE
Calculate PROC a:DWORD,b:DWORD
mov eax,DWORD PTR [esp+8]
sub eax,DWORD PTR [esp+4]
retn 2*4
Calculate ENDP
OPTION PROLOGUE:PrologueDef
OPTION EPILOGUE:EpilogueDef
END start
.386
.model flat,stdcall
option casemap:none
.code
call main
ret
main PROC
mov eax,OFFSET sample
ret
main ENDP
sample:
db 'This is a test.',0
END
\PellesC\bin\poasm.exe /AIA32 sample.asm
sample.asm(12): error: Symbol 'sample' is undefined.
sample.asm(12): error: Symbol 'main.sample' is undefined.
Quote from: ander_cc on May 02, 2026, 06:03:06 AMThere are two header files in folder "Include/win/winsqlite/": winsqlite3.h and winsqlite3ext.h.
But no related .lib files are included in folder "Lib".
Is this a deprecated feature?
Page created in 0.061 seconds with 17 queries.