GNU Assembly Tutorial 1

I teach you a bit of GAS and about your processor.

Comments

macuser1232 says:

you’re stupid if you run linux on a mac…

Jackson Darrow says:

how the fuck did he get out of the editor???

knupder says:

i think that means you sodomize welsh farm animals

macheads101 says:

@IMPMAC that’s true but the C compiler also works to do that.

macuser1232 says:

how?

macuser1232 says:

why are you using a GNU assembler if you’re on a mac…?

Erik Örjehag says:

why the dislikes? this was great!

Rahul Soshte says:

Thanks!

vitorix24 says:

I wrote “Linux assembly”
first video: MAC OS.

k

wikiemol says:

Thank you SO MUCH for this tutorial, Ive been trying to find tutorials on assembly for mac for AGES.

macuser1232 says:

i’m just saying that linux and unix are very similar so it may be a little useless.

Kotapaka Kotapakov says:

lol you’re the stupid one and clearly don’t understand what linux is used for…

Christine Tero says:

really great tutorial. keep it up! although I had to remove the underscores in “_main” (making it “main”) to make it compile on my ubuntu. also, you didn’t post the code in the description, but you don’t really have to anyway. cheers :3

chaz gillespie says:

thanx. :)

macuser1232 says:

emacs>vim

Jezza Gaming - Minecraft And More says:

as what +Nahiyan Alamgir said, binary is the only “language” that the processor can understand. (It’s just on and off signals, so not exactly a language)

Kotapaka Kotapakov says:

The processor doesn’t understand assembly, it only understands machine code.

LTS1287 says:

@macheads101: That doesn’t mean its foolproof. Compilers don’t have some kind of “master algorithm” that makes everything run at O(1). In many cases programmers will usually go over the assembly to make sure that things have been interpreted the way they want them to be.

Nahiyan Alamgir says:

Awesome tutorial but assembly isn’t something your processor understands. You fed processor instructions one at a time which are in binary. Assembly instructions are loosely text equivalent of the binary instructions which the processor understands. Assembler is responsible for compiling the instructions you write along with other extra features and turn them into binary which can be executed by processor.

MCEDIXX says:

Wallpaper link?

macheads101 says:

@FunIsPhun hmm think twice before calling an in-animant object “gay”.

ProgramThis! says:

echo $? gives me a result of 139 no matter what :/

Akiwoa says:

I lol’d so hard at this video, a pile of bullshit

Diana Kris Navarro says:

I. love. you.
Thank you so much.

Kotapaka Kotapakov says:

What if you own both a mac running linux? Would this mean you are a homosexual psycho-paedophile?

Steven Baggins says:

Why all the thumbs down? This helped me. I had to add a semicolon after _main, that’s all.

Geoff Murphy says:

@MHardeman25
I think there is a lot of confusion of different bit sizes in computers (i remember when the Sega Dreamcast came out and everyone was calling it a 128bit system… hmmm, not really). Most consumer processors at the moment still use 32bit single precision floating point arithmetic, but have visualized 64bit memory addressing.

James McCoy says:

Thank you, you re the friggin man!

knupder says:

@macheads101 i think they actually have some empirical data to support the link between mac ownership and homosexuality. linux users have the highest instances of psychosis and pedophilia

David Kroell says:

I’m a bit confused, if someone can answer. Doesn’t the processor run Machine Code?

Adelina Schneider says:

hey guys.. I need your help, please.
the commands don’t work at my terminal. I’ve tried everything: binutils, “Command Line Developer Tools for Xcode” … nothing works. I always get the same message:
clang: error: no such file or directory: ‘hello.s’
clang: error: no input files

Crux161 says:

you gotta give him credit (Especially for using GNU AS) .. also – it’s basically correct, if watered to help out the less fortunate

macheads101 says:

Xcode ships with the GNU dev. tools (i.e. GCC, etc.)

Wisher says:

Where did you learn this i would like written examples. pease tell me where you found refrence to gnu assembly programming

macheads101 says:

+vitorix24 Luckily, I was using the GNU compiler for this; the *exact* same one you’d use on linux.

macheads101 says:

@MTM123iPower thanks

Write a comment

*

Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles   Show Cars   Motorbikes   Scooters   Bicycles   Rims & Tires   Luxury BoatsFashion   Sunglasses   Luxury Watches   Luxury Purses   Jeans Wear   High Heels   Kinis Swimwear   Perfumes   Jewellery   Cosmetics   Shaving Helpers   Fashion Hats   Modeling TipsFooding   Chef Club   Fooding Helpers   Coktails & LiquorsSports   Sport Shoes   Fitness & Detox   Golf Gear   Racquets   Hiking & Trek Gear   Diving Equipment   Ski Gear   Snowboards   Surf Boards   Rollers & SkatesEntertainment   DIY Guides   Zik Instruments   Published Books   Music Albums   Cine Movies   Trading Helpers   Make Money   Fishing Equipment   Paintball Supplies   Trading Card Games   Telescopes   Knives   Vapes   GameplaysHigh Tech   Flat Screens   Tech Devices   Camera Lenses   Audio HiFi   Printers   USB Devices   PC Hardware   Network Gear   Cloud Servers   Software Helpers   Programmer Helpers   Mobile Apps   Hearing AidsHome   Home Furniture   Home Appliances   Tools Workshop   Beddings   Floor Layings   Barbecues   Aquarium Gear   Safe Boxes   Office Supplies   Security Locks   Cleaning ProductsKids   Baby Strollers   Child Car Seats   Remote ControlledTravel   Luggages & Bags   Airlines Seats   Hotel Rooms   Fun Trips   Cruise Ships   Mexico Tours