历史

19.Delphi笔试题目(2)(1/2)

    8. What will be the output of the following C code?

    main()

    {

    int k, num= 30;

    k =(num > 5 ? (num  15))

    12. How many flip-flop circuits are needed to divide by 16?

    13. Provides 3 properties that make an OS, a RTOS?

    14. What is pre-emption?

    15. Assume the BC register value is 8538H, and the DE register value is 62A5H.Find the value of register BC after the following assembly operations:

    MOV A,C

    SUB E

    MOV C,A

    MOV A,B

    SBB D

    MOV B,A

    16. In the Assembly code shown below

    LOOP: MVI C,78H

    DCR C

    JNZ LOOP

    HLT

    How many times is the DCR C Operation executed?

    17. Describe the most efficient way (in term of execution time and code size) to divide a number by 4 in assembly language

    18. what value is stored in m in the following asse