Assignment 3

Satisfactory Essays
Topics: IP address
Chapter 4
16. All
17. Accessing ports without disturbing the other ports
27. 5
Chapter 5
5. Push
7. Moves 1F directly to A
9. In this mode the registers are used as a pointer to the data. R0 and R1 are the only registers used in this addressing mode
17. All ports P0 to P3 are bit addressable
18. 16 bytes of the internal ram are bit addressable. The locations are 20H to 2FH
24. P0-80H-87H
25. P1-90H-97H
26. P2-A0H-A7H
27. P3-B0H-B7H
28. PCON-98H-98FH
29. TCON-88H-8FH
35. CLR.PSW.&
37. MOV A, D0H (D0H is the address of PSW
ANL A, FBH (Mask the unused bits and test the ones needed)
MOV P1, A (Display for the user on the board)
Chapter 4
20. CPL P1.2 CPL P1.5 SJMP H1
24. SET B, P2.0 ; MAKE P2.0 AN INPUT AGAIN:JB P2.0,OVER ;JUMP IF P1.4=1 SJMP AGAIN ;KEEP MONITORING OVER: MOV P1, #66H ;SW=0,ISSUE 66H TO P1 SJMP AGAIN ;KEEP MONITORING END
Chapter 5
8. PUSH 00 PUSH 01 PUSH 03 POP 05 POP 06 POP 07
10. MOV R7, #1FH MOV R1, 50H MOV R4, #0FFH
AGAIN:
MOV @R1,R4 INC R1 DJNZ R7 SJMP AGAIN 13. MOV DPTR, DB 06,09,02,05,07 MOV 30H, #00H MOV R1, #00H LOOP: MOVC A, @A+DPTR ADD A, 30H MOV 30H, A INC R1 MOV A,R1 CJNE R1,#05H, LOOP
20. SETB P1.5 LCALL DELAY LCALL DELAY LCALL DELAY CLR P1.5 LCALL DELAY LCALL DELAY LCALL DELAY SJMP HERE
23. SETB P2.1 MOV A, #55H JNB P2.1,AGAIN MOV PO,A MOV P2.2 SETB 2.2 CLR 2.2

67. ORG 0 MOV A,#55H MOV R2, #10 MOV R0, #C0
BACK: MOV @R0,A INC R0 DJNZ R2, BACK SJMP $ END

You May Also Find These Documents Helpful

  • Powerful Essays

    Assignment 3

    • 2530 Words
    • 11 Pages

    NORTHCENTRAL UNIVERSITY ASSIGNMENT COVER SHEET Student: Jason D. THIS FORM MUST BE COMPLETELY FILLED IN Follow these procedures: If requested by your instructor, please include an assignment cover sheet. This will become the first page of your assignment. In addition, your assignment header should include your last name, first initial, course code, dash, and assignment number. This should be left justified, with the page number right justified. For example: KnightJSKS7000-8…

    • 2530 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    Assignment 3

    • 255 Words
    • 2 Pages

    Assignment 3 ECON 103: Pingle A. The federal government recently ran a budget surplus, but has since returned to running a budget deficit. 1. Explain why reducing the budget deficit can cause short-term pain in the form of lower employment, higher unemployment, and a recession. 2. Explain why expansionary monetary policy would help decrease the likelihood of a recession if it were adopted at the same time the budget deficit was being reduced. 3. Present an analysis that identifies any long…

    • 255 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Assignment 3

    • 400 Words
    • 4 Pages

    BACHELOR OF COMPUTER SCIENCE (HONS) BACHELOR OF INFORMATION TECHNOLOGY (HONS) MAT 2204: MATHEMATICS FOR COMPUTING ASSIGNMENT 3: AUGUST 2014 SESSION Answer ALL Questions. 1. Find a solution to the recurrence relation for n 3 with initial conditions and . (8 marks) 2. Solve the recurrence relation an = 14an-1 – 49an-2 for n 2 if a0 = 3 and a1 = 35. (7 marks) 3. A company owns a fleet of 950 cars, each having either manual or automatic transmission and either 2 or 4 doors…

    • 400 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Assignment 3

    • 347 Words
    • 2 Pages

    Florida A&M University School of Business & Industry Assignment #3 From Exposure to Comprehension MAR 5930 Consumer Behavior Research Prepared By: Nathaniel Russell Causley, III Submission Date: February 10, 2015 1. Under Armour Brand Strategy Under Armour was partaking in many different strategies to make its brand personally relevant, surprising, and easy to process. The most convenient avenue they found into doing this was starting with the University of Maryland, the founder’s…

    • 347 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Assignment 3

    • 1424 Words
    • 6 Pages

    MILLERSVILLE UNIVERSITY Geography Department Map Interpretation & Analysis Assignment 3 Due: GEOG 281 In the D2L Content area for this course, under the Assignment 3 section (where you found this document), find the link titled “Assignment 3 Map Links” and open it. The page you are taken to contains separate links for Parts A and B of this assignment. Part A: Introducing GIS using Lancaster County GIS Data Your course content pages illustrate how to navigate the map. In particular you should…

    • 1424 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Assignment 3

    • 957 Words
    • 21 Pages

    10/28/2014 Assignment Print View Score: 100 out of 100 points (100%) 1. award: 20 out of 20.00 points Piscataway Plastics Company manufactures a highly specialized plastic that is used extensively in the automobile industry. The following data have been compiled for the month of June. Conversion activity occurs uniformly throughout the production process. Work in process, June 1—40,000 units: Direct material: 100% complete, cost of Conversion: 40% complete…

    • 957 Words
    • 21 Pages
    Satisfactory Essays
  • Good Essays

    Assignment 3

    • 694 Words
    • 3 Pages

    Assignment 3: Banking (16.0 points) 1. Visit the website of a large national bank, regional bank, or credit union, and use the information you find there to answer the questions below. EXAMPLE: Some large banks you might consider include Bank of America®, JPMorgan Chase®, Wells Fargo®, Citibank®, and U.S. Bank®. a. What is the name of the bank or credit union? (0.5 points) Bank of America. b. List three facts about savings account options at the bank or credit union…

    • 694 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Assignment 3

    • 898 Words
    • 3 Pages

    poe____ Assignment 3: Banking (16.0 points) 1. Visit the website of a large national bank, regional bank, or credit union, and use the information you find there to answer the questions below. EXAMPLE: Some large banks you might consider include Bank of America®, JPMorgan Chase®, Wells Fargo®, Citibank®, and U.S. Bank®. a. What is the name of the bank or credit union? (0.5 points) bank of America b. List three facts about savings account options at the bank or credit union you chose. (3 sentences…

    • 898 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Assignment 3

    • 1286 Words
    • 10 Pages

    Prepared by: Syed Mustafa Ahmed Student ID: 500-513-715 Assignment #3 Professor: Amy Peng Course: ECN 620 Question #1: Choosing optimal public transit fleet size Excel Solutions Q1 Q2 K SUMPRODUCT Solutions 5 2 5 1 Max ( 290 Constraints 1 -1 0 <= 0 1 -1 -3 <= 0 1 5 >= 0 1 2 >= 0 1 5 > 0 How this table was created? The constrains and other valuable information that was given by the question and with manual analysis was inserted into the Excel spreadsheet…

    • 1286 Words
    • 10 Pages
    Good Essays
  • Good Essays

    ASSIGNMENT 3

    • 268 Words
    • 1 Page

    ASSIGNMENT #3 1. The content of liquid detergent bottles is being analyzed, twelve bottles, randomly selected from the process, are measured, and the results are as follows (in fluid ounces): 16.05, 16.03, 16.02, 16.04, 16.05, 16.01, 16.02, 16.02, 16.03, 16.01, 16.00, 16.07 (a) Calculate the sample average. (b) Calculate the sample standard deviation. 2. A lot of size N = 30 contains three nonconforming units. What is the probability that a sample of five units selected at random contains exactly…

    • 268 Words
    • 1 Page
    Good Essays