Master Tutorial Questions 2
Master Tutorial Questions 2
1. Write an ALP to reverse a string and check if palindrome, use string instructions.
2. Write an ALP to read a key from the keyboard and check if it is ‘G’ , if yes display ‘Good’, else
display ‘Bad’
3. Write an ALP that uses the XLAT instruction to find square of numbers from 1 to 10, stored in data
segment number array SQUARE.
4. Write an ALP to validate a password, assume the correct password as ‘SECRET’, use string
instructions.
5. Find the control word if PA =out, PB =in , PC0-PC3=in and PC4-PC7=out, program the 8255 to
get data from portA and send it to portB,and data from PCL sent out to PCU, Use port addresses
300-303H for 8255 chip.
6. Describe the four major design rules of RISC philosophy.
7. With a neat sketch explain a typical embedded device based on ARM core.
8. What is initialisation code?
9. Which are the different processor modes , explain in brief.
10. Explain the working of following instructions : CMN, TST, MLA, MUL, B, BL,BIC