Checkout
checkout
view
Your Cart Your Cart: item(s)
Add to Shopping Cart
$2.19 Instant Download
Computer Science, Operating Systems
Year 3

The Message


USE ANY COMPUTER LANGUAGE to write the message "this is page 1" on page one, the message "this is page 2" on page 2, and so on until the message "this is page 7" is written to page 7.  Center the messages on the pages, in exactly the same place.  Have the program then alternate the messages and determine if you can detect the fact that each message is rewritten.  Have the program terminate and return to DOS when the q key is pressed.

Amplification:  The words "this is page 1, 2, ...7 is written on the pages as numbering is in a book.  Instead of just listing the page number, the phrase "this is page 1, 2,...7 must be written on each page.

By OTA:  Champake Mendis, MEngSc

OTA Rating:  4.7/5

Your Price:  $2.19  (original value ~$23.94)

What's included:

  • Plain text response
  • Attachment(s):
    • 41956_The Message.doc
    • 41956.c
$2.19 Download Add to Cart

Add to Shopping Cart
$2.19 Instant Download
DOS and BIOS - Write a program that will display the hex code for any key, or key combination that is pressed on the kdyboard. Display the key code in the center of the screen. For instance, if the key number 0 is pressed, display a 30 on the center of the screen.
Procedures - Write a simple near procedure (such as a return) and call it using direct addressing.
Procedures - Write a simple near procedure (such as a return) and call it using register addressing.
Procedures - Create a stack area at 1000h. Push 10h bytes, located at data memory addresses 60000h to 6000fh, on the stack using indirect addressing. Then pop the stack to memory addresses 62000h to 6200fh using indirect addressing. Load unique data into the 10h bytes in order to test the program.
Procedures - Create a stack at 1000h. Use the stack to interchange the contents of all of the working registers. Exchange AX with DX, BX with CX, and DI with SI. Use unique data for each register to test the program.

Page generated in 0.1146 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples