Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 1: Reading from Port C, writing to Port B, no synchronization 1.1 Review the HC11 architecture: itp:/icontrols ame.nd edu/microcontroller/main node3 html. HC11 features a

image text in transcribed
image text in transcribed
Exercise 1: Reading from Port C, writing to Port B, no synchronization 1.1 Review the HC11 architecture: itp:/icontrols ame.nd edu/microcontroller/main node3 html. HC11 features a number ofI/O ports A, B, C and D that can be used in different modes. Parallel I/O interface consist principally of Port B and Port C, but Port D can be used for parallel PORTC at $1005 and PORTD at $1008. At the reset Ports C and D are configured for input and Port B is configured for output, by default. Use Wookie simulator to test the following program: () use single step mode and then (ii) run the program continuously. Capture the running program simulator screen at least twice: with Port C data already copied to accumulator A and then with the contents of the accumulator A outputted onto Port B. Make sure that the CPU registers as well as all the port control windows are visible. inp ut as well. PORTB buffer register is at the address $1004 ORG $E000 LDAA $1005 read pins on Port c STAA $1004 write data to Port B BRA LOOP LOOP Exercise 1: Reading from Port C, writing to Port B, no synchronization 1.1 Review the HC11 architecture: itp:/icontrols ame.nd edu/microcontroller/main node3 html. HC11 features a number ofI/O ports A, B, C and D that can be used in different modes. Parallel I/O interface consist principally of Port B and Port C, but Port D can be used for parallel PORTC at $1005 and PORTD at $1008. At the reset Ports C and D are configured for input and Port B is configured for output, by default. Use Wookie simulator to test the following program: () use single step mode and then (ii) run the program continuously. Capture the running program simulator screen at least twice: with Port C data already copied to accumulator A and then with the contents of the accumulator A outputted onto Port B. Make sure that the CPU registers as well as all the port control windows are visible. inp ut as well. PORTB buffer register is at the address $1004 ORG $E000 LDAA $1005 read pins on Port c STAA $1004 write data to Port B BRA LOOP LOOP

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

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions