retagged by
1,049 views
1 votes
1 votes
A computer uses expanding opcode. It has 16 bit instructions 6 bit addresses, it supports one address, two address instructions only. If there are n two address instructions, the maximum number of one address instructions are?
retagged by

1 Answer

Best answer
1 votes
1 votes
No for conditional/unconditional JMP but Yes for conditional/unconditional CALL. Stack is used for current activation record and this is per function. i.e., in each function memory for local variables are assigned with respect to SP and so whenever there is a CALL, SP must be updated and not otherwise.

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
0 answers
2
0 votes
0 votes
0 answers
3
hitendra singh asked Dec 6, 2018
301 views
X= (A+B)*(C+D) variable are in the main memory evaluate the statement, using stack organizationIf the CPU supports an 8-bit opcode of 4 GB memory space, how much (in Byte...
1 votes
1 votes
2 answers
4
Na462 asked Nov 7, 2018
461 views