NASM - The Netwide Assembler
NASM Forum => Example Code => Topic started by: Keith Kanios on September 21, 2014, 01:13:16 PM
-
Attached is a little "Hello World" demo for Mac OS X, using Quartz (Core Graphics) with both 32-bit and 64-bit versions.
The demo turns the screen black, prints "Hello, World!" in white Times font at the bottom-left, sleeps for 5 seconds and then exits. The demo also prints "Hello, World!" to the terminal.
To build/run the demo you will need Mac OS X (tested on 10.5 - 10.9), NASM 2.07+ and XCode.
Build instructions are commented at the top of the attached file.
-
Thanks so much this example is good.
-
Hey Keith, is there any tutorials that you know of on the net for NASM programming on Mac?
I can't find anything on the internet that works on my Mac except your program.
I am running Max OS X 10.11.3 El Capitan and NASM 2.11.08
Thanks for your input.