关闭

Assembly Language

该项目收到5 来自天才威客的竞标,平均竞标价格为$29 CAD

为像这样的项目获取免费报价
雇主工作
项目预算
$10 - $30 CAD
全部竞标
5
项目描述

1. Write an Intel 8085 assembly program to find the largest of N numbers stored in memory using the algorithm below. Hand trace (execute) the program showing the changes made to all affected registers and memory locations.

Max = a(1)

For i = n to N

If max < a(i) then max = a(i)

Next i

2. Write an Intel 8085 assembly language program that counts the number of 1s in a binary number stored in the accumulator. Use the algorithm below. Hand assemble (produce hexadecimal code using code tables) the code for the first 10 lines of the program.

Tally = 0;

For i = 1 to 8

Shift accumulator once to the right

If carry = 1 then increment ONES

Next i

3. Use an algorithm similar to one in Question 2 to find the parity (odd/even) of a binary number stored in the accumulator.

4. A text is stored in a memory block, in ASCII format. Transform all lower-case characters of this text into upper-case, leaving numbers, special characters, and upper case characters unchanged.

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online