Threadser.net
數據
關鍵字
Threads
Login
串文
串文鏈結
2024-12-27 09:33
So assembly language is a wrapper around binary and other programming languages are abstractions over assembly?
讚
437
回覆
203
轉發
1
作者
Sis ✨
sis_codes
粉絲
串文
120+
讚
回覆
轉發
24小時粉絲增長
無資料
互動率
(讚 + 回覆 + 轉發) / 粉絲數
Infinity%
回覆 (BETA)
最先回覆的內容
發文後
用戶
內容
一小時內
Pauldo
morpheus202402
I guess you can say that .
3 小時內
Vladislav Zorov
v_zorov
Usually, no, most programming language implementations compile directly to machine code - they don’t go through assembly, unless you ask them to (e.g. the “-S” flag in GCC). They often have something called “IR” (Intermediate Representation), though. Assembly is mostly just for humans.
8 小時內
Dan Valentine
droolinghamster
uh, sort of? assembly is just the human readable form of the processor's machine language. an assembler does the parsing and translation. however, most modern assemblers add preprocessing, macros, and what might be considered "abstraction," by allowing stuff like variables to reference memory addresses. higher level languages are eventually translated to machine language to run, so definitely abstraction there.