Loading/Running Binary Programs
Loading/Running Binary Programs
Hey guys, I am at the point in my 64bit Assembly Operating System, where I would like to write programs in Assembly and load and run them. So my question is how do I go about this for kernel calls and calls to other parts of code? For example, I have an Asm class called "Console" and a call would be "Console_Print", in lets say "hello.asm" which is compiled down to "hello.app" and is a binary file using Nasm, how do I call "Console_Print"? I don't know the address to it, so that's where things get tricky. Anyways thanks for the help! - Matt
Re: Loading/Running Binary Programs
Try "call Console_Print"
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check this out.
If you're new, check this out.
Re: Loading/Running Binary Programs
Thanks, I got it all figured out now. - MattBlacklight wrote:System Calls
Re: Loading/Running Binary Programs
Maybe some online-help is also usefull?
Compile and Execute Assembly Online (NASM version 2.10.07)
http://www.compileonline.com/compile_as ... online.php
Online x86 / x64 Assembler:
https://defuse.ca/online-x86-assembler.htm#disassembly
Dirk
Compile and Execute Assembly Online (NASM version 2.10.07)
http://www.compileonline.com/compile_as ... online.php
Online x86 / x64 Assembler:
https://defuse.ca/online-x86-assembler.htm#disassembly
Dirk