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 *toread *wishlist 2d 360 3d 3dprinting 3g abandonware accounting actionscript ai air airplay algorithm android animation api app apple appstore arcade arduino art article askreddit asm assembler audio automation baby backlight backup bambulab bbs berlin bitcoin bivert blipfm blipster blog blu-ray bluetooth book bookmark bootcamp boxee brasil brazil bruno bug bugtracking buildapc business c c# c++ carro casa cell chart chiptune chiptunes citypop claudeai cliq cocoa cocoa-touch code collection component controller cooking core-graphics crt css curso database ddwrt debug demoscene design deutschland dev developer development diy dj dns doc dos dosbox dotnet download dreamcast drink drm ds dvb-c dvd ebook electronics emu emudev emulation emulator engine example expedition33 facebook famicom feedbin firmware fix flash flashcart flex fluorine forum framework freeware gadget game gameboy gameboy-pocket gamecollecting gamedesign gamedev gamegear games gaming gba genesis german germany git google googlemaps GoogleReader gps gsm gui guide hack hacks hamburg hardware home home-automation homeassistant homeautomation homebrew honda howto html htpc http icon IFTTT ikea image imported indie inspiration install insteon interview ios iosprogramming ipad iphone iptv iso itunes jailbreak japan japantravel java javascript job keyboard lastfm lcd lib library linux live lldb localization london mac macos mame management mapkit mastersystem math mce media mediacenter megadrive memory-management miami midi mod movie mp3 mpd msn music mythtv nas nes network nvidia nyc objective-c opengl opengles opensource osx pc pcb perlerbeads php physics piracy plex plugin Pocket portfolio prepaid programming project ps1 ps2 ps3 ps4 psp puremvc push pvr python raspberrypi recalbox recipe reddit reddit-comment reddit-post region remote repro resource restaurante retrogaming retrograming retropc retropie rgb rip rom roms router ruby rubyonrails saopaulo scart science scumm sdk security seedbox serial server shmups shop shopping sim sms snes software sonos sound soundblaster soundtrack source spotify sql sqlite star startup steamdeck store stream subtitles svn swift sync synology synth tax technology terminal three20 tips todayilearned tool tools toread torrent tracker travel trip tutorial tweak twitter twitter-post ubuntu ui uitableview unix unlock uremote usa veralite viagem video vista vita vpn vps vst walkthrough warez web2.0 webdesign webradio webservices wifi wii wiiu windows wishlist wordpress xbmc xbox xcode xml xna youtube z-wave z80 zigbee