0 like 0 dislike
75 views
in Computer Science by (1.0m points)
Define the instruction format.

1 Answer

0 like 0 dislike
by (1.0m points)

Instruction format An instruction is normally made up of a combination of an operation code and some way of specifying an operand, most commonly by its location or address in memory though nonmemory reference instructions can exist. Some operation codes deal with more than one operand; the locations of these operands may be specified using any of the many addressing schemes. 

Classically, the number of address references has been used to specify something about the architecture of a particular computer. In some instruction formats and machine architectures, the number of operand references may be fixed; in others the number is variable. In the former case descriptions of formats include one-address, two-address, three-address, and (now rarely) four-address. An example (symbolically) of a one-address instruction is 

add x i.e. 

add contents of address x

to contents of accumulator;

sum remains in accumulator. 

An example of a three-address instruction is 

add x,y,z i.e. 

add contents of address x

to contents of address y;

sum is placed in location z. 

In some cases the last address is the address of the next instruction to be executed. The ability to specify this address was important when rotating (drum) main memories were prominent. Thus a two-address instruction such as 

Related questions

0 like 0 dislike
1 answer 450 views
asked Apr 5, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
0 answers 43 views
asked Nov 17, 2018 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 35 views
asked Feb 11, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 109 views
0 like 0 dislike
1 answer 79 views
asked Apr 5, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 133 views
asked Apr 3, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 64 views
asked Apr 3, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 272 views
asked Apr 3, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 400 views
asked Apr 6, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 289 views
asked Apr 5, 2019 in Computer Science by danish (1.0m points)
Welcome to Free Homework Help, where you can ask questions and receive answers from other members of the community. Anybody can ask a question. Anybody can answer. The best answers are voted up and rise to the top. Join them; it only takes a minute: School, College, University, Academy Free Homework Help

19.4k questions

18.3k answers

8.7k comments

6.3k users

Free Hit Counters
...