Write an assembly language code segment to insert

Assignment Help Assembly Language
Reference no: EM13780513

ASSIGNMENT DESCRIPTION

PART 1

Write an assembly language code segment to insert into the main.asm file that takes an input controlled by a potentionmeter, converts that input to a digital value, and displays that value on the LEDs according to the following:

TABLE 8-1:  LED Conditions

Value

LEDs Lit

$0000 - $3332

none

$3333 - $6665

1

$6666 - $9998

1,2

$9999 - $CCCB

1,2,3

$CCCC - $FFFF

1,2,3,4

 PART 2

Modify your code by replacing "ATD0DR1" with "ATD0DR0."  Slowly move your hand over the CSM12D module to cast a shadow on the board.  Observe the reaction of your display LEDs to different brightness levels.

Objectives:

(1)   Study how to program in Assembly Language while using CodeWarrior and the PBMCUSLK and CSM12D modules.

(2)   Practice controlling peripheral devices with a microcontroller.

Reference no: EM13780513

Questions Cloud

Totality of the circumstances test : Do you support the two-pronged test for determining probable cause on the basis of information obtained from an informant engaged in criminal activity established by the Court in Aguilar v. Texas or support the totality of the circumstances test e..
Graphical linear programming best production mix-yard gates : The Jean-Pierre Amor Company manufactures two lines of designer yard gates, called model A and model B. every gate requires blending a certain amount of steel and zinc; the company has available a total of 25000 lb of steel and 6000 lb of zinc. Find ..
Changing public opinion about social security : Identify a framing or counter-framing effort discussed in Chapter 4 or 9. In your post, explain the effort and whether or not it was successful or made inroads toward the goal of influencing public opinion.
Assignment-analyzing world cultures : Media play a very large role in both the development and the perpetuation of cultural elements. You may never have watched a foreign movie or even clips evaluating other cultures. In this assignment, you will explore online videos or movies from a..
Write an assembly language code segment to insert : Write an assembly language code segment to insert into the main.asm file that takes an input controlled by a potentionmeter, converts that input to a digital value, and displays that value on the LEDs according to the following
Why would the liberal warren court grant the police : Was allowing searches and seizures on less than probable cause a serious blow to Fourth Amendment freedoms? Should the majority have adopted Douglas's position? Why would the liberal Warren Court grant the police so many powers and create a preced..
Describe the structured interview : Describe the structured interview. What are the characteristics of structured interviews that improve on the shortcomings of unstructured interviews? Develop one original situational question and an accompanying rating scale using benchmark responses..
In defense of multitasking by david silverman : Why do students multitask? Are they trying to save time, or postpone difficult work or decisions? Are students losing their ability to focus?
What types of legal liabilities should be considered : As a project manager on a product development team for a fast responding digital thermometer useable in high temperature applications (200-500 degrees C), What types of legal liabilities should be considered?

Reviews

Write a Review

Assembly Language Questions & Answers

  Create a assembly language subroutine

Create a assembly language subroutine MULSUM that takes an array named A containing n bytes of positive numbers, and fills two arrays, array B containing n words and array C containing n long words

  Write a function in linux assembly

Write a function in Linux assembly

  Analog measurements

Prepare an assembly program for the correctly measures the wind direction

  Design a simple digital clock

Design a simple digital clock

  Write an assembly program

Prepare an Assembly program that reads in a number of cents.

  Write an assembly language program

Write an assembly language program for encrypting alphabates of a string

  Greatest common divisor of integers-masm assembly language

Must be done in MASM assembly language: Greatest common divisor of two integers is largest integer which will evenly divide both integers. GCD algorithm involves integer division in a loop.

  Write assembly program-find right admission price to movie

Write the Assembly program to find correct admission price to movie. Price of admission to a movie is $7 for kids (under 12) and $9 for adults.

  Create simple 8-bit alu using add-subtract-shift functions

Create a simple 8-bit ALU. Requirements:The eight functions that you will implement are: add, subtract, and, or, shift left logical, less than, shift right logical.

  Write assembly program print binary representation-integers

Write the assembly program called hw6_ex1, stored in file hw6_ex1.asm. This program must prompt user to enter signed 32-bit integer. Program must print out binary representation of the integer.

  Allot op-codes and add microcode to microprogram

Allot op-codes and add microcode to microprogram of Mic-1 to implement following instructions which are then included with IJVM instruction set.

  Write mips assembly program to read two non-negative numbers

Write MIPS assembly program to repeatedly read two non-negative integers and print integer product and quotient without using multiplication and division instructions.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd