assign3 - Assignment#3 Fall 2011 SYSC-3006 Computer...

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

View Full Document Right Arrow Icon
Assignment #3 Fall 2011 SYSC-3006 Computer Organization Department of Systems and Computer Engineering Due Date: October 19 th @ 7:00 PM (electronic submission) You must submit the files identified below using the electronic Submit application . The submission process will be cancelled at the deadline. No assignments will be accepted via email or on disk. Part I : Exercises in Control Flow and Basic Programming 1. Arithmetic programming and Control Flow (assign31.asm, .exe): Build a program that finds and displays the first 10 NEGATIVE ODD NUMBERS (i.e., -1, -3, -5, -7, - 9...). You must do it in 2 different ways (both should be in the same program, one after the other): a) Using the MUL (and addition/subtraction) instructions. b) Using boolean and shift operations. The numbers must be printed in decimal . To print a character, you can use the following code: ; this uses DOS function 2 (of INT 21H support) to ; output the character in the DL reg mov ah, 2 ; DOS function 2 int 21H ; display character in DL
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern