Archive

Posts Tagged ‘asm’

Asm Ide

July 27th, 2010 Julie No comments

Asm Ide


Asm Compiler?

I need an asm with a good IDE, and active community. Please don’t redirect me to another language, as I have already learned C++. To advance my RE and debugging skills I want to learn how to create programs in ASM.

Well, in the world of today, there’s very little point in creating complete programs in assembler – the days when this was practiced are long gone.

Only blocks of code that require extreme optimizations are written in assembler today, like pieces of hardware drivers, advanced cryptography and few other very specialized applications.

That said, the only thing you really need to compile assembly modules on Windows is MASM:

http://www.microsoft.com/downloads/details.aspx?FamilyID=7A1C9DA0-0510-44A2-B042-7EF370530C64&displaylang=en

On UNIX, GNU Assembler (GAS) does the job perfectly.

As far as debugging goes, Microsoft Visual Studio has always supported assembler-level debugging that is enough for basic reverse engineering.

And if that’s not enough, and you’re interested in heavy weaponry, IDA Pro Disassembler is the utlimate professional-grade tool ( http://www.hex-rays.com/idapro/ ).

Compiling .asm to .hex using MPLAB IDE for PIC Microcontroller

Assembler Ide

August 9th, 2009 Julie No comments

Assembler Ide


Programming in BASIC question please…?

I’ve written a BASIC source code and i wanna assemble it now. I have FreeBASIC 32-BIT compiler for DOS/Windows but i don’t know how to compile. I’ve written the code on notepad already… how do I then assemble this?

The assembler opens with Command Prompt and has a default directory: C:Program FilesFreeBASIC, and its not an IDE.

Any help will be appreciated. Thanks.

I just wrote a simple .bas file and then compiled it from the command line like this:

fbc hello.bas

fbc is the FreeBASIC compiler, and hello.bas is the simple basic file I made for this test. The compiler created an executable called ‘hello’ and it worked :)

fbc can take many more complex parameters, but for most programs the simple usage is what you need. Most compilers work like this. Consult the fbc documentation for more. I hope I helped you (I never used FreeBASIC myself).

Microcontroller Tutorial Part-3

Nasm Syntax

July 19th, 2009 Julie No comments

Nasm Syntax


Looking for an example of Berkeley Sockets programming in straight NASM assembler under the Linux OS.?

NASM would be ideal, but really, I’m trying to avoid having to make a *whole* lot of educated guesses, so GAS syntax would work as well.

I know there’s a lot of documentation on the internet regarding Berkeley Sockets, but the majority of the material I’ve found assumes I’m writing in C/C++.

Not too sure if this will help, but check the sources for ZSNES, as it has some NASM assembly on it, if I recall correctly. I am not sure though if ZSNES uses the Berkeley Sockets to do communications though.

budgie female or male? miz