WA6 - TITLEmultiplies32bitmemoryoperands (main.asm)

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
TITLE multiplies 32-bit memory operands (main.asm)  ; For this assignment you must build a program that should prompt  ; the user for the radius of a circle. It should calculate and  ; display the circles area.  ; To create this program use the ReadFloat and WriteFloat procedures  ; from your textbooks library. The FLDPI instruction is used to load  ; PI onto the register stack: area = PI * radius^2.  INCLUDE Irvine32.inc  INCLUDE macros.inc  .data             userInput REAL8 ?                                                                                                                                                                           .code  main PROC             mWrite "Input the radius: "             Call ReadFloat 
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

WA6 - TITLEmultiplies32bitmemoryoperands (main.asm)

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online