Write a switch case driven Assembly Language Program (ALP) to perform 64-bit hexadecimal arithmetic operations (+,-,*, /) using suitable macros. Define procedure for each operation.
32 Bit Code 64 Bit Code 32 Bit NASM Code %macro scall 4 mov eax,%1 mov ebx,%2 mov ecx,%3 mov edx,%4 int 80h %endmacro section .data arr dq 0000003h,00000002h n equ 2 menu db 10d,13d,”**********MENU**********” db 10d,13d,”1. Addition” db 10d,13d,”2. Subtraction” db 10d,13d,”3. Multiplication” db 10d,13d,”4. Division” db 10d,13d,”5. Exit” db 10d,13d,”Enter your Choice: ” menu_len equ $-menu m1 db 10d,13d,”Addition: ” … Continue reading Write a switch case driven Assembly Language Program (ALP) to perform 64-bit hexadecimal arithmetic operations (+,-,*, /) using suitable macros. Define procedure for each operation.