Showing posts with label language. Show all posts
Showing posts with label language. Show all posts

Tuesday, 6 September 2011

Data Transfer Instruction

What is the data transfer instruction? Give example.

Data transfer instructions move data between registers or between memory and registers. For example:

String Forms:

movsb ;move string byte by byte

movsw ;move string word by word

EXAMPLE:

Movsb es, ds ;Copies 8 bits at DS:SI to ES:DI

New String Form (386+):

movzx ;move string with zero extended

movsx ;move string with sign extended

EXAMPLE:

movsx cx, al ;cl get al

movzx cx,al ;cl gets al

Saturday, 23 April 2011

Processor Cycle

What is meant by processor cycle?

Processor Cycle is a term used to describe one aspect of a processor's performance: the number of clock cycles that happen when an instruction is being executed.

Friday, 22 April 2011

SIM Instruction in 8085 microprocessor

What is the function performed by SIM Instruction?

The SIM instruction in the 8085 microprocessor is used to set (SIM) the interrupt mask. With SIM, you can mask or unmask RST5.5, RST6.5, and RST7.5, you can reset the pending RST7.5 flip flop, and you can set or reset the SOD (Serial Output Data) pin.