MENU

Fun & Interesting

#1: FizzBuzzをアセンブリ言語で書きたい!

低レイヤーガール 14,997 lượt xem 4 years ago
Video Not Working? Fix It Now

ソフトウェアエンジニアである @hikalium と @d0iasm が低レイヤーについてお喋りしながら、レイヤー低めのペアプログラミングをします。
初回は皆さんおなじみのFizzBuzzを、x86_64のアセンブリ言語で書いていきます。exitシステムコールの番号を見つけるのに早速苦労しますが、果たしてFizzBuzzは完成するのでしょうか…?
code: @d0iasm, guide: @hikalium

fizzbuzz.s: https://gist.github.com/d0iasm/f3ae71de0d590de3f689d78465333515

参考文献:
- Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 2, May 2019 p.394

Comment