Skip to main content

Posts

Featured

User input In Assembly using Irvine 32/64

TITLE MASM Template (main.asm) ; Description: ; Revision date: INCLUDE Irvine32.inc .data myMessage1 BYTE "Enter the first number: ",0dh,0ah,0 myMessage1 BYTE "Enter the second number: ",0dh,0ah,0 inputNum1 DWORD ? inputNum2 DWORD ? .code main PROC call Clrscr mov edx,offset myMessage1 call WriteString call ReadInt ;Reads the integer value from console and moves it to eax. mov inputNum1,eax ;Input value is taken in eax. mov edx,offset myMessage2 call WriteString call ReadInt ;Reads the integer value from console and moves it to eax. exit main ENDP END main

Latest posts

If else in Assembly using irvine 32 /64

Cube in Assembly using irvine 32 /64

Bisection method in Assembly using irvine 32 / 64

Merge Sort in Assembly using Irvine 32/64

Write a general-purpose function to convert any given year into its roman equivalent. Example: Roman equivalent of 1988 is mdcccclxxxviii Roman equivalent of 1525 is mdxxv

Write a function power ( a, b ), to calculate the value of a raised to b.

Write a function that receives 5 integers and returns the sum, average and standard deviation of these numbers. C#

The Battle of Badr

Battle of the Trench (ghazwa e khandaq)

The Last Sermon (Khutbah) of Prophet Muhammad (Farewell Sermon)