myCompiler
English
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
A
@aditya_nk11
Displaying name,panel,etc
Assembly
4 years ago
section .data m1 db "Aditya Kelkar",10 ; l1 equ $-m1 m2 db "Roll no:54 ",10 l2 equ $-m2 m3 db "Panel E ",10 l3 equ $-m3 section .bss string resb 50 ;string array of size 50
Subtraction of two numbers
Assembly
4 years ago
section .data msg db 'The difference is:', 10 msgLen equ $-msg num1 db 56H num2 db 46H section .bss sum resb 1 temp resb 1 section .text global _start
Addition of two numbers
Assembly
4 years ago
section .data msg db 'The sum is:', 10 msgLen equ $-msg num1 db 34H num2 db 46H section .bss sum resb 1 temp resb 1 section .text global _start
Addition of three numbers
Assembly
4 years ago
section .data msg db "The sum is:", 10 ;10 is for new line msgLen equ $-msg ; calculates length of msg num1 db 34H num2 db 46H num3 db 38H section .bss sum resb 1 ; holds the sum of the 3 numbers temp resb 1 section .text
Division
Assembly
4 years ago
section .data msg db 'The Division is:', 10 msgLen equ $-msg num1 db 6H num2 db 3H section .bss DIV1 resb 1 temp resb 1 section .text global _start
Multipication
Assembly
4 years ago
section .data msg db 'The Product is:', 10 msgLen equ $-msg num1 db 13H num2 db 03H section .bss MUL1 resw 1 temp resb 1 section .text global _start
Previous
Next page