# Unit 4 Study guide

May 7th, 2015
Studypool Tutor
Price: \$10 USD

Tutor description

Chapter 6 : Problems 1,6,16,19,20,24,28,41,44,45 6.1: ARITHMETIC INSTRUCTIONS1.Find the CY and AC flags for each of the following:(a)MOV A, #3FHCY=0 No carry out from D7

Word Count: 335
Showing Page: 1/3
Unit 4 Study guideChapter 6 : Problems 1,6,16,19,20,24,28,41,44,456.1: ARITHMETIC INSTRUCTIONS1.Find the CY and AC flags for each of the following:(a)MOV A, #3FHCY=0 No carry out from D7ADD A, #45HAC=1 carry from D3 to D400111111+0100010110000100(b)MOV A, #99HCY=0 No carry out from D7ADD A, #58HAC=1 carry from D3 to D410011001+0101100011110001(c)MOV A, #0FFHCY=1SETB CAC=0ADDC A, #00SETB C-> CY=111111111+CY 1100000000+00000000100000000(d)MOV A, #OFFHCY=1ADD A, #1AC=111111111+ 1100000000(e)MOV A, #OFEHCY=1SETB CAC=1ADDC A, #0111111110+ 111111111+ 1100000000(f)CLR CCY=1MOV A, #0FFHAC=1ADDC A, #01ADDC A, #011111111+00000001100000000+000000001000000006. State the steps that the SUBB instruction will go through for each of the following: 1. Take the 2s complement of the subtrahend2. Add it to the minuend3. Invert the carry(a) 23H-12H23H

## Review from student

Studypool Student
" Tutor was very helpful and took the time to explain concepts to me. Very responsive, managed to get replies within the hour. "

1827 tutors are online

### Other Documents

05/07/2015
05/07/2015
05/07/2015

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors