Friday, 18 March 2011

similarities between CALL_RET and PUSH_POP instructions

List out the similarities between CALL_RET and PUSH_POP instructions.

When CALL is executed the microprocessor automatically stores the 16-bit address of the instruction next to CALL on the stack pointer.

The programmer uses the instruction PUSH to save the contents of the register pair on the stack.

RET transfers the contents of the top two locations of the stack to the PC.

POP transfers the contents of the top two locations of the stack to the specified register pair.

Has 8 conditional RETURN instructions.

No conditional POP instructions.

Thursday, 17 March 2011

initiate hardware interrupts in 8085 microprocessor

List the type of signals that have to be applied to initiate hardware interrupts in 8085.

It has three pins for interrupts; NMI, IRQ and FIRQ. A low level on any of these pins will cause an interrupt. The machine state will then be stacked and the routine entered. The appropriate routine address is found in a table of interrupt vectors. Two locations are dedicated to each Interrupt pin, in which are loaded the two bytes of the interrupt routine address.

An order of priority is imposed - the interrupts at the top of the list set the flag bits of the other interrupts to stop them interrupting during the interrupt service routine. The former values of these bits are restored when the flag register is pulled off the stack on return from the interrupt. Further interrupts are then free to occur thereafter.

Wednesday, 16 March 2011

instruction format of 8085 microprocessor

What is the instruction format of 8085.

The instruction set is grouped into the following formats:

Task Op

code

1 BYTE

Copy the contents of the accumulator in the register C.

MOV C,A

2 BYTE

Load an 8-bit data byte in the accumulator

MVI A,data

3 BYTE

Transfer the

program

sequence to

the memory

location

2085H.

JMP 2085H

machine cycles of 8085 microprocessor

List the various machine cycles of 8085.

Each time the CPU executes an instruction, it takes a series of steps. The complete series of steps is called a machine cycle. A machine cycle can be divided into two smaller cycles. These are instruction cycle and execution cycle.

7 MACHINE CYCLES

Opcode fetch

Memory read

Memory write

I/O read

I/O write

interrupt acknowledge

sent back

Friday, 11 February 2011

Project Specifications in Software Engineering

For what purpose Specifications are actually meant?

A specification document describes how something is supposed to be done. This document may be very detailed, defining the minutia of the implementation; for example, a specifications document may list out all of the possible error states for a certain form, along with all of the error messages that should be displayed to the user. Sometimes, when a project doesn't meet its expected result, it may be referred to as being out of specification; the abbreviation OOS may also be used.

Five different specifications a project may have are:

1) Game company's product and game specifications are much more important for determining the quality of the product and their different games.

2) As with all performance measures, a company ensures that specifications are reasonable and measurable.

3) Company conveys financial information concerning desired products from a buyer to a seller.

4) With prescriptive specifications given by company there is little scope for misunderstanding in any dealing.

5) User of their games and buyers of their products have more opportunity to pass risk onto the company organizers, as they have the responsibility for the way the specification is met.