|
- Error message on windows: fatal: unable to open output file (?)
Hello, I am interested in assembly programs I want to make simple boot asm file and run it in qemu I made asm file run nasm in order to compile to bin on win10x64 with command " nasm boot asm -f bin -o boot bin " Note that my nasm was came from installer so it is located in " C:\Program Files\NASM> " so I put my boot asm inside it too However, I got fatal: " unable to open output file boot
- NASM tutorial for Windows (7+), console and windows
Hello everybody I'm new to NASM and need a good tutorial to start programming on Windows 7 I've just installed NASM for Win64 and the linker GoLink (mentioned in a few forums) but was unsuccessful my first try due the lack of documentation for Windows (99% available is for Linux), I was able to assemble and link a minimalist (do nothing) example just to test, but when I open the EXEcutable
- Disassembling and then reassembling a windows exe file with nasm?
Disassembling and then reassembling a windows exe file with nasm?Some years ago I played around with a disassembler called "Borg", or something similar to that Probably the most interesting part of it was that it generated assembler source which was almost completely compatible with MASM The only thing you really had to work to fix in the disassembled code was the data types (the
- Working with command line arguments - Netwide Assembler
Working with command line arguments; nasm -f elf32 argc asm ; ld -o argc argc o global _start section text _start: pop ecx ; argc in ecx add ecx, '0' ; convert number to character - ASSume one digit :( push ecx ; need it in a buffer - use the stack mov ecx, esp ; address of buffer in ecx, as sys_write wants! mov edx, 1 ; number of bytes to write mov ebx, 1 ; file descriptor - STDOUT mov eax
- NASM for Windows ld comman
(Nasm's "-f coff" is a different kind of COFF) There *is* a port of the linker "ld" to Windows, but it sounds like you haven't got it - or haven't got it installed right Maybe available on the prof's computer, but not yours? You can get the Windows "ld" (and more) with the MinGW package, or the Cygwin package
- NASM Learners Library for 32-bit and 64-bit Linux
NASM Learners Library for 32-bit and 64-bit LinuxThis is a library for 64-bit Linux intended for learners, newbies and any party interested in learning x86_64 assembly language This library contains various basic routines that provide new learners with a set of enabling and learning tools This is a basic learning library where transparency and readability is the main objective, rather than
- Strange warning: Dword data exceeds bounds
But in this case NASM doesn't warn about probable data loss Why? To be consistent, both cases (with and without inversion) should work identically But removing warning seems to me more adequate
- Example Code - Netwide Assembler
Example CodePages: [1] 2 3 13Example Code
|
|
|