retagged by
1,333 views
1 1 vote
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?

1 Answer

Best answer
1 1 vote
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.
Position:
Show:

Related questions

0 0 votes
1 1 answer
7.2k
7.2k views
0 0 votes
0 0 answers
626
626 views
shima abdullah asked Jul 2, 2022
626 views
In a stack ISA, the postfix expression z = X Y x W U x +
0 0 votes
0 0 answers
489
489 views
hitendra singh asked Dec 6, 2018
489 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 1 vote
2 2 answers
970
970 views
Na462 asked Nov 7, 2018
970 views