Đang Thực Hiện

133923 Assembly Language Program

Draw a flow chart and write a single assembly language program that will try to find out the ASCII word character (i.e. a digit or a letter) at memory address $ 2000. Your program must meet the operation requirements outlined below.

Note that when running this program the memory contents at address $ 2000 can be altered using the MM command of the 68K simulator prior to executing the program,you are not required to implement any functionality to set the value to be stored in location $ 2000. You should use MM to change the value stored in location $ 2000 at start up.

Requirement 1

The user must be allowed to enter a character. Your program should check that the value entered is an ASCII word character (i.e. a digit or a letter), and exit with the word 'INCORRECT' if it is not.

Requirement 2

If the user input matches the character stored at location $ 2000, the word 'CORRECT' must be printed to the screen and the program must exit.

Requirement 3

If the character stored at memory address $ 2000 is higher than the user's, the word 'HIGHER' must be printed on the screen followed by a newline character. Likewise, if the actual value is lower than the user's then the word 'LOWER' must be displayed followed by a newline character.

Requirement 4

The user must be allowed to enter up to ten characters, with the 'HIGHER' or 'LOWER' prompt given after each try. If the user does not get the correct value after ten attempts, the word 'LOSER' must be printed to the screen and the program must exit.

Kỹ năng: Bất kì công việc gì, Lập trình C, HTML, Java, Perl, Visual Basic

Xem thêm: assembly language flow chart, s programming language, programming in assembly, programming flow chart, program find, language programming, i get programming language, flow simulator, exit letter, e programming language, contents of the letter, character draw, c# assembly, assembly programming language, assembly language programming, letter of contents, find the language, draw character , draw a character, change language, c assembly, Assembly language, assembly language simulator, write flow chart, find chart

Về Bên Thuê:
( 1 nhận xét )

Mã Dự Án: #1880094

Đã trao cho:

noocsl

Hi If your simulator supports the trap#15 tasks (0-9), then I can write this. I have both of the simulators below. I assume you want a flow chart image (jpg, gif..)? EASy68K [url removed, login to view] Thêm

$15 USD trong 1 ngày
(0 Đánh Giá)
0.0