You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a text editor based on masm32, kernal32, msvcrt, windows
11.14 finish link,node and string
below is a simple example for link, node and string
.data outstr1 db "place:%x", endl,0 outstr2 db "data:%s", endl,0 outstrtest db "count : %d", endl,0 mylist List <> .code main PROC local stringPtr: DWORD invoke InitList, ADDR mylist invoke InsertNode, ADDR mylistmovesi, mylist.currentNode invoke InitString,esi ;we can directly use esi to represent the position of mylist.data invoke InsertChar,esi,'a',0 invoke InsertChar,esi,'b',1 invoke InsertChar,esi,'c',2 invoke DeleteChar,esi,0movesi, (String PTR[esi]).stringpushad invoke crt_printf, ADDR outstr2,esipopad invoke ExitProcess,0 main ENDP