Full Name
Saranya C.P
local chapter id
171

Member for

5 months 2 weeks

my questions

Displaying 1 - 30 of 81

Which addressing mode is being used in the given instruction?
MOV AX, [1234H]

view   Lecture 3 created on Sat, 06/13/2020 - 17:02

Which segment register is being used in the given instruction?
MOV CX , SS: [BX]

view   Lecture 3 created on Sat, 06/13/2020 - 17:00

What kind of addressing resemble to direct - addressing mode with an exception of possessing 2 - byte instruction along with specification of second byte in terms of 8 low - order bits of memory address?

view   Lecture 3 created on Sat, 06/13/2020 - 16:42

The data address of look-up table is found by adding the contents of

view   Lecture 3 created on Sat, 06/13/2020 - 16:40

The instruction that is used to complement or invert the bit of a bit addressable SFR is

view   Lecture 3 created on Sat, 06/13/2020 - 15:53

The logical instruction that affects the carry flag during its execution is

view   Lecture 3 created on Sat, 06/13/2020 - 15:51

Which of the following is true while executing data transfer instructions?

view   Lecture 3 created on Sat, 06/13/2020 - 15:50

The operations performed by data transfer instructions are on

view   Lecture 3 created on Sat, 06/13/2020 - 15:48

Which instruction should be adopted for moving an accumulator to the register
from the below mentioned mnemonics?

view   Lecture 3 created on Sat, 06/13/2020 - 15:37

What will be the output of the following C code?

#include <stdio.h>

#include <stdarg.h>

int f(char c, ...);

int main()

{

char c = 97, d = 98;

f(c, d);

return 0;

}

int f(char c, ...)

{

va_list li;

va_start(li, c);

char d = va_arg(li, int);

printf("%c\n", d);

va_end(li);

}

view   Lecture 17 A created on Sat, 06/13/2020 - 15:24

Which of the following macro extracts an argument from the variable argument list (ie ellipsis) and advance the pointer to the next argument?

view   Lecture 17 A created on Sat, 06/13/2020 - 15:21

What will be the output of the following C code?

printf(“\n Output: %5d \t %x \t %#x”, 234,234,234);

view   Lecture 17 A created on Sat, 06/13/2020 - 15:17

What will be the output of the following C code?

char str[] = &quot;Hello Nancy“;

printf(“\n %.7s”, str) ;

view   Lecture 17 A created on Sat, 06/13/2020 - 15:15

What will be the output of the program

#include<stdio.h>

void fun(int);

int main(int argc)

{

printf("%d ", argc);

fun(argc); return 0;

}

void fun(int i)

{

if(i!=4) main(++i);

}

view   Lecture 17 A created on Sat, 06/13/2020 - 15:09

 In linux, argv[0] by command-line argument can be occupied by _________

view   Lecture 17 A created on Sat, 06/13/2020 - 14:56

Which of the following syntax is correct for command-line arguments?

view   Lecture 17 A created on Sat, 06/13/2020 - 14:55

What is the index of the last argument in command line arguments?

view   Lecture 17 A created on Sat, 06/13/2020 - 14:53

What will be the output of the following C code (if run with no options or arguments)?

#include <stdio.h>

int main(int argc, char *argv[])

{

printf("%d\n", argc);

return 0;

}

view   Lecture 17 A created on Sat, 06/13/2020 - 14:51

What will be the output of the following C code (run without any command line arguments)?

#include <stdio.h>

int main(int argc, char *argv[])

{

while (argv != NULL)

printf("%s\n", *(argv++));

return 0;

}

view   Lecture 17 A created on Sat, 06/13/2020 - 14:49

The flag bits that indicate the privilege level of current IO operations are

view   Lecture 2 created on Sat, 06/13/2020 - 14:24

Which general purpose register holds eight bit divisor and store the remainder especially after the execution of division operation?

view   Lecture 2 created on Sat, 06/13/2020 - 14:17

How many registers can be utilized to write the programs by an effective selection of register bank in program status word (PSW) ?

view   Lecture 2 created on Sat, 06/13/2020 - 14:14

In the execution stage the function performed is

view   Lecture 2 created on Sat, 06/13/2020 - 14:11

The stage in which the CPU generates an address for data memory references in this stage is
 

view   Lecture 2 created on Sat, 06/13/2020 - 14:09

Suppose that a bus has 16 data lines and requires 4 cycles of 250 nsecs each to transfer data. The bandwidth of this bus would be 2 Megabytes/sec. If the cycle time of the bus was reduced to 125 nsecs and the number of cycles required for transfer stayed the same what would the bandwidth of the bus?

view   Lecture 2 created on Sat, 06/13/2020 - 14:06

The fetch and execution cycles are interleaved with the help of ________

view   Lecture 2 created on Sat, 06/13/2020 - 14:02

The private space gets allocated to each sub routine when_________________________.

view   Lecture 16 created on Sat, 06/13/2020 - 13:41

If, the sub routine exceeds the private space allocated to it then the values are pushed onto ___________

view   Lecture 16 created on Sat, 06/13/2020 - 13:38

How do caller and callee functions use same registers without interference?

view   Lecture 16 created on Sat, 06/13/2020 - 12:37

Where does callee function store its local variables?

view   Lecture 16 created on Sat, 06/13/2020 - 12:35