Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a working ARCTool assembly code that emulates the logical programming construct below: Use the file ARCTool/examples/IOExamples/printHelloWorld.asm as an example. Note the use of the

Write a working ARCTool assembly code that emulates the logical programming construct below: Use the file ARCTool/examples/IOExamples/printHelloWorld.asm as an example. Note the use of the memory mapped I/O and the flow control mechanisms. LENGTH = 0x24 !Number of characters in the character string in hex WHILE ( LENGTH > 0 ) DO PRINT $Message > console !Print each character to the console LENGTH=LENGTH-1 !Decrement the counter DONE

Use the following Message .org 3000 ! The "Message" charactor string Message: 0x57, 0x65, 0x20, 0x41, 0x70

0x6f, 0x6c, 0x6f, 0x67, 0x69

0x73, 0x65, 0x20, 0x66, 0x6f

0x72, 0x20, 0x74, 0x68, 0x65

0x20, 0x49, 0x6e, 0x63, 0x6f

0x6e, 0x76, 0x65, 0x6e, 0x69

0x65, 0x6e, 0x63, 0x65, 0x0a

a. Write the message printed in the ARCTool console window:

b. Print your code (with comments) :

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

0262660709, 978-0262660709

More Books

Students also viewed these Databases questions