1. R

    Other How is the UNIX Calling Convention faster than Microsoft® convention?

    I was reading thought the System calls section in the Developers Handbook and at the chapter A.3.3, it is mentioned that the preferred calling convention should be the UNIX calling convention for a number of reasons (except you need Linux compatibility). The thing that interested me a lot was...
  2. X

    stack alignment & argc location in assembled binaries

    Hi there, For a bit of fun, I'm trying to implement some low-level functionality in FreeBSD and Linux. I had a question regarding some seemingly not-deterministic behavior I came across regarding the initial stack alignment in FreeBSD and, therefore, the location of argc and argv relative to...
  3. A

    Other FreeBSD AMD64 ABI

    Hello, background: I'm Assembly programmer for both Intel's x86 and AMD64 architectures, been programming for these architecture for more than 10 years in non-UNIX-like operating systems; to be more precise: Windows NT based operating systems. I was able to find the numeric kernel services...
  4. A

    Other assembly programming with nasm

    Hello, how to compile a simple program (written in assembly) with nasm? SECTION .data msg db 'Hello World!', 0Ah SECTION .text global _start _start: mov edx, 13 mov ecx, msg mov ebx, 1 mov eax, 4 int 80h mov ebx, 0 ...
  5. FSG

    Solved Assembly - simple Hello World

    Hi, I'm beginning assembly on FreeBSD and tried a simple HelloWorld. I'm using 2 separate files, one for some macro and defines, one for the actual code (looks a long post but hang on, it's just hello world =D ) Here is the macro file : ; ; : aliases definitions (defines & macros)...