Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am supposed to write an assembly level program that prints coding using the LDBA instruction with direct addressing in Pep 9 Please help me

I am supposed to write an assembly level program that prints "coding" using the LDBA instruction with direct addressing in Pep 9
Please help me someone!!!!!
don't suggest "$" or "#" it is wrong for me. The example operand should only be "0x000D", no other is needed!!!!
LDBA 0000D,d; Load 'C' into accumulator
STBA 0xFC16, d ; Store accumulator to output device
LDBA 0006E,d; Load 'o' into accumulator
STBA 0xFC16, d ; Store accumulator to output device
LDBA 0000E,d; Load 'd' into accumulator
STBA 0xFC16, d ; Store adcumulator to output device
LDBA 0000E,d; Load 'i' into accumulator
STBA 0xFC16, d Store accumulator to output device
LDBA 0000E,d; Load 'n' into accumulator
STBA 0xFC16, d ; Store accumulator to output device
LDBA 00067,d; Load 'g' into accumulator
STBA 0xFC16, d ; Store accumulator to output device
STOP ; Stop
.ASCII "Coding" ; Characters to be printed
. END
image text in transcribed

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

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

What is your relationship with the audience?

Answered: 1 week ago

Question

2. What rewards do you get from engaging in your habit behavior?

Answered: 1 week ago