FOR
,” “PRINT
,” or “GOTO
,” where each statement corresponds to several machine/assembly language instructions, whereas each assembly-language statement corresponds to one machine-language instruction.
It is much easier to program in a high-level language than in assembly language.
For example, assume that X
and Y
are integers.
X = (Y + 4) × 3;This command could be translated to the following assembly commands:
mov eax, Y ; move Y to the EAX register add eax, 4 ; add 4 to the EAX register mov ebx, 3 ; move 3 to the EBX register imul ebx ; multiply EAX by EBX mov X, eax ; move EAX to X4th Generation (Application-Specific Languages such as SQL, Cobol, and Prolog, 1950s)
FIND ALL RECORDS WHERE NAME IS "SMITH"5th Generation (1980s)
Welcome back to Plastic Surgery Anonymous. Nice to see so many new faces here today! |