you ‧ notes ‧ unread ‧ starred ‧ add url

Learning to Read X86 Assembly Language

http://patshaughnessy.net/2016/11/26/learning-to-read-x86-assembly-language

november 2016 ‧ programming reddit asm imported ‧ open in karakeep

Pat Shaughnessy ‧ saved copy from 2026.08.28

From Reddit saved post — r/programming, u/iamkeyur, Nov 28 2016 https://www.reddit.com/r/programming/comments/5f9evm/learning_to_read_x86_assembly_language/
Writing x86 assembly language is complex and best left to experts, but reading it can be a valuable skill for debugging and understanding low-level operations. The author explores translating simple Ruby code into assembly using Crystal, which compiles Ruby into native machine code via LLVM, enabling inspection of the generated assembly instructions. x86 assembly syntax includes suffixes indicating data size and uses registers prefixed by symbols like %, while instructions operate on these registers or immediate values. Although initially challenging, understanding these basics helps demystify how a processor executes code.

regenerate summary

screenshot of the page

« back to bookmarks

top tags     all tags ‧ 2 ‧ 5 ‧ 10 ‧ 20 ‧ manage

*bookmark *download *tobuy *tofollow 2d 360 3d 3dprinting 3g abandonware actionscript air algorithm android animation api app apple appstore arcade arduino art article askreddit asm audio automation backlight backup bambulab bbs berlin bitcoin blipfm blipster blog bluetooth book bookmark bootcamp brasil brazil bug buildapc business c c# c++ carro casa chiptune citypop claudeai cliq cocoa cocoa-touch code collection component controller cooking crt css database debug demoscene design deutschland dev diy dns doc dos dosbox dotnet download electronics emu emudev emulation emulator engine example famicom feedbin fix flash flex fluorine forum freeware gadget game gameboy gameboy-pocket gamecollecting gamedev games germany git GoogleReader hack hacks hamburg hardware home home-automation homeassistant homebrew honda howto html htpc http IFTTT image imported indie inspiration insteon ios iosprogramming ipad iphone iso itunes jailbreak japan japantravel java javascript job lcd lib library linux live localization mac mame math mce media mediacenter megadrive memory-management midi mod movie mp3 mpd music mythtv nas nes network objective-c opengl opensource osx pc piracy plex plugin Pocket programming project ps1 ps2 ps3 ps4 pvr python raspberrypi recalbox recipe reddit reddit-comment reddit-post region remote repro resource retrogaming retropc retropie rgb roms rubyonrails saopaulo scart sdk server shmups shop shopping sim sms snes software sound soundblaster source spotify star steamdeck svn swift synology synth tax terminal three20 tips tool toread torrent tracker travel tutorial twitter twitter-post ubuntu ui uitableview unix unlock veralite viagem video vista vita vpn vps walkthrough warez web2.0 webservices wifi wii windows wishlist wordpress xbmc xbox xcode xml xna z-wave z80