Ace My Grades
Sign In
Sign In
Reset Password
Register
  • Home
  • Tutorials
    • Accounting
    • Business
    • Law
    • Finance
    • Health Care
    • Management
    • Science
    • Political Science
    • Computer Science
  • My Account
  • Contact Us
$27.00 $17.00
Using Mano’s Basic Computer write a short program of five to ten lines in assembly language | Complete Solution
William Thompson
1

Description

Using Mano’s Basic Computer write a short program of five to ten lines in assembly language to accomplish something.

  • Your program should start with an ORG instruction and end with an END instruction
  • Opcodes should be from the set of twenty-five instructions described in Dr. Duchon’s tutorial
  • Operand addresses apply only to the seven memory-reference instructions (AND to ISZ) and are identified with a one- to three-character label
  • Labels identify an address where data is stored, or identify a location to branch to;  the symbolic address in a label field is terminated by a comma so that it will be recognized as a label by the assembler
  • / / are used at the start of a comment

 

A short example would be:

ORG 100

100                  LDA CAT       //  The contents of location CAT are loaded into the AC

110                  COM               //  The value in the AC is complemented

120                  STA DOG       //  The value in the AC is stored in location DOG

130                  HLT                //  The computer halts

140      CAT,    HEX 5             // contains the value in location CAT

150      DOG,   HEX 0             // contains the value in location DOG

END                // end of source code

 

Take This Course $27.00 $17.00

Lessons

Using Mano’s Basic Computer write a short program of five to ten lines in assembly language to accomplish something | Complete solution | Rated A+

Take a course to view this content

Related Courses

$25.00 $18.00
CIS 333 | Lab 5 Answers | Complete Solution | Rated A+
William Thompson
3
$25.00 $18.00
CIS 333 | Lab 4 Answers | Complete Solution | Rated A+
William Thompson
3
$25.00 $18.00
CIS 333 | Lab 2 Answers | Complete Solution | Rated A+
William Thompson
4
$30.00 $21.00
CIS 333 | Week 8 Assignment 2 – Identifying Potential Risk, Response and Recovery | Complete Solution | Rated A+
William Thompson
5
Ace My Grades © 2021
  • Home
  • Checkout
  • Blog
  • Privacy Policy
  • Contact Us
  • FAQ