Also: MetaL@ a start on a wierd little cross-processor bnf translation language.
This is the NEXT STEP in rapid assembler code development, Version 4 has its own code generator to create basic front ends in less than a minute, it has it own extendable library with full source code for efficient modular code design, it includes WINDOWS.INC version 1.12 that Iczelion has just upgraded and MASM32.HLP has a new section for pentium optimisation from an anonymous author on the net as well as the reference for the procedures contained in MASM32.LIB.This version has its own LIB.EXE, DUMPBIN.EXE and EDITBIN.EXE with source code so that the full capacity of LINK.EXE can be realised. Clive Turvey has given permission to include his latest version of DUMPPE.EXE with MASM32v4 which is set up to disassemble your EXE file directly from the editor. All you need to do is unzip DUMPPE.ZIP in the BIN directory.
Read the help file, play around, setup a workspace do all the tutorials from MASM32.
Tricks:
See also:
Books
Questions:
Can someone help me width this code :
void __inline * memcpy(void *dest, const void *src, size_t size) {
bprintf("memcpy(0x%x,0x%x,0x%x);\n",dest,src,size);
__asm__ (
" push %%esi \n"
" push %%edi \n"
" push %%ecx \n"
" mov %0, %%esi \n"
" mov %1, %%edi \n"
" mov %2, %%ecx \n"
" push %%ecx \n"
" shr $2, %%ecx \n"
" rep movsl \n"
" pop %%ecx \n"
" and $3, %%ecx \n"
" rep movsb \n"
" pop %%ecx \n"
" pop %%edi \n"
" pop %%esi \n"
: : "S" (src), "D" (dest), "c" (size)
);
return dest;
}
I never saw before a inline assembly wrote in that way. ( width %, $, \n and between "" )
and i specially can´t understand this
: : "S" (src), "D" (dest), "c" (size)
thanks a lot
it is assembly using Visual C+++
Comments:
John Ellard Says:
I have found this page to be very useful! This page is the reason I chose to become a PICList member.+
NOTE: Some of the links on this page and/or subsequent pages referenced from here are outdated, but don't let that discourage you from exploring the "good" links on this page!
file: /Techref/language/asm/win32asm.htm, 19KB, , updated: 2016/11/2 14:30, local time: 2024/11/24 17:23,
owner: size111-hotmail-,
3.139.236.93:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/language/asm/win32asm.htm"> Win32Asm, MASM, Windows Internals</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.