write an assembly language program that uses 3 byte variables a,b,c. the variables are initialized be for the program starts with the values 2,5 and 0 respectively . the program will add ,sub,divide and multiply the contents of the variable a to that of b and store the result in to c.
1
Expert's answer
2021-10-14T04:49:36-0400
SECTION .data
extern printf
global main
fmt:db"%d", 10, 0SECTION .text
main:moveax, 14movebx, 10addeax, ebxpusheaxpush fmt
call printf
moveax, 1int0x80
Comments