recategorized by
2,038 views

2 Answers

1 votes
1 votes

 

STC:- It is logical instruction or logical  instruction used to set the carry flag in a computer.

  • The carry flag is a single bit in a system status register/flag register used to indicate when an arithmetic carry or borrow has been generated out of the most significant arithmetic logic unit (ALU) bit position.
  • The carry flag enables numbers larger than a single ALU width to be added/subtracted by carrying (adding) a binary digit from a partial addition/subtraction to the least significant bit position of a more significant word.
  •  

1 Data Transfer 

The data transfer instructions move data between registers or between memory and registers.

MOV , MVI,LDA,STA,LHLD,SHLD etc. 

 

2 Logical 

The Instructions under this group perform logical operation such as AND, OR, compare, rotate etc. Examples are: ANA, XRA, ORA, CMP,  RAL,STC etc. 

 

3 Program control

 instructions change or modify the flow of a program. The most basic kind of program control is the unconditional branch or unconditional jumpBranch is usually an indication of a short change relative to the current program counter. Jump is usually an indication of a change in program counter that is not directly related to the current program counter (such as a jump to an absolute memory location or a jump using a dynamic or static table), and is often free of distance limits from the current program counter.

LOOPNZ,RET,CALL,LOOPZ,IRET,JUMP,JUMPNZ etc. 

                     

 

 

Answer:

Related questions

0 votes
0 votes
4 answers
1
admin asked Apr 2, 2020
1,184 views
When a subroutine is called, then address of the instruction following the CAL instruction is stored in/on theStack pointerAccumulatorProgram counterStack
0 votes
0 votes
1 answer
2
admin asked Apr 2, 2020
763 views
The process of entering data into a storage locationcauses variation in its address numberadds to the contents of the locationis called a readout operationis destructive ...
0 votes
0 votes
1 answer
3
admin asked Apr 2, 2020
471 views
Serial access memories are useful in applications wheredata consists of numbersshort access time is requiredeach stored word is processed differentlydata naturally needs ...
0 votes
0 votes
2 answers
4
admin asked Apr 2, 2020
1,380 views
Micro program is the name of source program in micro computersthe set of instructions indicating the primitive operations in a systemprimitive form of macros used in asse...