Asembly programming on Haiku

Hii. Im new here and i just returned to useing Haiku after a time of not. Im wanting to get into the program development parts of the system and am wondering if theres any diferences on programing in asm mashine code for Haiku that ill need to be aware of. Im experenced with asm programing for msdos allredy so all i need to know is the diferences in opereting systemss and what program makes it for you to asemble and link programs.

also all i rely need is simple comand line aplications for manageing files, i dont need complex gui for most of my ideas so asm is my choise for now

There is a big difference, because x86_64 is in 64bit Long Mode, and DOS is in 16bit Real Mode. Long Mode uses 64bit registers like rax, or r15 and has memory protection and memory mapping.

Edit: But as it is the same processor family you can use the commands (MOV etc.) you already know.

1 Like