Question: Q 1 - What are the two architectures on which computers are based? 2 Q 2 - What is the difference between operating system and

Q1- What are the two architectures on which computers are based? 2 Q2- What is the difference between operating system and kernel? 2 Q-3 Name the three on-chip resources and three on-board resources? 6 Q-4 How many registers are there in CPU of S12 microcontrollers, what are their functions? 7 Q-5 How many addressing modes are there? Explain each of them giving an example? 8 Q-6 Write down instructions in assembly language which will perform the following operations: 8 a)- Compare two hex number $5F and $52. How will you know the result of comparison? b)- Subtract two hex number $2A and $78. Where will be the result of subtraction? c)- Multiply two hex number. Where will be the result of multiplication? d)- Divide $CD by $A. Where will be the quotient and where will be remainder? Q7- Write any three directives. 3 Q8- How many files are created when an assembly language file is assembled? 2 Q9- Write a program in assembly language which will make a delay of 600 microseconds? 5 Q10- Which ports of S12 are connected to dip switches, bar light emitting diode, and seven-segment displays? 6 Q11- Write down instructions in assembly language which will make Port H input port and Port B output port. 4 Q12- Write down instructions in assembly language which will display 7 on extreme right seven-segment display of our board. 4 Q13- What is a vector address? Write down the vector addresses of PRINTF, GETCHAR, and PUTCHAR built-in subroutines or functions. 3 Q14- Read this assembly language program and write down what this program will do when it is run. 10 ORG $1000 LDAA $1025 ROB CMPA #$AA BEQ SAM BCC CARL INCA BRA ROB CARL DECA BRA ROB SAM STAA $1025 SWI ORG $1025 FCB $CD END

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!