Flashcards
Instructions
Cards in this deck (13)
- 1Where are instructions executed?In the central processing unit
- 2Which language are instructions in?Machine code
Machine language
Binary code - 3What are the two things a machine code instruction consists of?The operation code (opcode)
The operand - 4What does the opcode do?Instructs the CPU which one of its set of operations it has to perform
- 5Are these codes and instructions unique for each type of microprocessor?Yes
- 6What is the complete set called for that processor?Instruction set
- 7What does the operand contain?Either:
The data that has to be used by the opcode
The register address that has to be used
(e.g. where the data to be used can be found or where the result of the instruction has to be stored) - 8What are both the opcode and the operand encoded as?Bit patterns
- 9Why do humans write programms in high level languages?They find it difficult to write programs as string of 1s and 0s
- 10What must happen to programming in high-level languages before the microprocessor can run them?They must be translated into machine language
- 11How are they translated?Using assemblers, compilers and interpreters
- 12What is used to represent an opcode in assembly language?A descriptive word or mnemonic
e.g. STA = store the contents of the accumulator into the register address given in the operand) - 13What would happen to any numbers that aer written in hexidecimal rather than binary?By loading the number 01 in hexadecimal into the accumulator, it would be translated into a bit pattern
Information
- Description
- GCSE Computing (4 Representation of Data in Computer Systems) Flashcards on Instructions, created by Anisha Rai on 25/04/2016.
- Created by
- Anisha Rai
- Views
- 4
- Tags
- Rating