Wednesday 6 June 2018

Latest Jobs in India By Jobsfeat, All Govt & Private Jobs

In India there are Lakhs of People Looking for Jobs. The Jobs are there but people are not able to see it all together under single platform. Which is why Jobsfeat has come up with a great initiative to help people who are searching for Job. If you are Looking for Jobs, subscribe to Jobsfeat.

What you will get in Jobsfeat

You can get all the Latest Govt Jobs & Latest IT Private Jobs which you also find in other websites but the way it filters the Job, its easier to find your own dream job easily.

Jobs Across India 2018 Search and apply to latest 159,168 Job Vacancies Across India across sectors like Railways, Banking Job Across India for freshers, Universities, Financial Institutions 2018, Defence Vacancies, UPSC, College Jobs Across India 2018, Teaching Openings, Schools Across India, SSC Vacancy for freshers, Agriculture and many more Across India Jobs.

Latest freshers and experienced Jobs Vacancies Across India. Create a Resume and apply to the latest Across India Jobs across top companies now. Please read the provided information such as educational qualification, application fees, selection procedure carefully before applying for the Jobs. For all the freshers and experienced professionals looking for jobs vacancies Across India, Fresherslive serves as the one point of access.
Wednesday 24 January 2018

8085 program to multiply two bcd numbers

Statement: Write an assembly language program to multiply 2 BCD numbers



8085 program to multiply two bcd numbers


MVI C, Multiplier : Load BCD multiplier
MVI B, 00 : Initialize counter
LXI H, 0000H : Result = 0000
MVI E, multiplicand : Load multiplicand
MVI D, 00H : Extend to 16-bits
BACK: DAD D : Result Result + Multiplicand
MOV A, L : Get the lower byte of the result
ADI, 00H
DAA : Adjust the lower byte of result to BCD.
MOV L, A : Store the lower byte of result
MOV A, H : Get the higher byte of the result
ACI, 00H
DAA : Adjust the higher byte of the result to BCD
MOV H, A : Store the higher byte of result.
MOV A, B : [Increment
ADI 01H : counter
DAA : adjust it to BCD and
MOV B,A : store it]
CMP C : Compare if count = multiplier
JNZ BACK : if not equal repeat
HLT : Stop
________________________________________________________________________

List of all Microprocessor 8085 all program with examples

So Guys here are the list of 8085 programs for beginners who are currently learning 8085 microprocessor and also for those who are looking for8085 microprocessor programs pdf here is all and you can collect it. In this you can get access to microprocessor 8085 programming tutorial which are all tutored and not only this in this we have microprocessor 8085 programs with opcode.

Tuesday 28 November 2017

8085 program for 2's complement of a number

8085 program for 2's complement of a number


Finding Two's complement of a number, 2's complement program in 8085
2's complement of 8 bit number in 8085

Statement: Find the 2's complement of the number stored at memory location 4200H and store the complemented number at memory location 4300H.

Sample problem:

       (4200H) = 55H
               Result = (4300H) = AAH + 1 = ABH

Source program:

LDA 4200H            : Get the number
CMA                      : Complement the number
ADI, 01H               : Add one in the number
STA 4300H            : Store the result
HLT                       : Terminate program execution
 

8085 program to find one's complement of a number

8085 program to find one's complement


Finding one's complement of a number

Statement: Find the l's complement of the number stored at memory location 4400H and store the complemented number at memory location 4300H.

Sample problem:                                                                       

       (4400H) = 55H
               Result = (4300B) = AAB                                       
Source program:                                                       

LDA 4400B  : Get the number
CMA            : Complement number
STA 4300H  : Store the result
HLT              : Terminate program execution

8085 Program to Add contents of two memory locations in 8085 Processor

Add contents of two memory locations
Statement: Add the contents of memory locations 40001H and 4001H and place the result in the memory locations 4002Hand 4003H.
Sample problem:       

       (4000H) = 7FH
       (400lH)  = 89H
Result    = 7FH + 89H = lO8H
       (4002H) = 08H
       (4003H) = 0lH

Source program:

       LXI H, 4000H  : HL Points 4000H
       MOV A, M       : Get first operand
       INX H             : HL Points 4001H
       ADD M           : Add second operand
       INX H             : HL Points 4002H
       MOV M, A       : Store the lower byte of result at 4002H
       MVI A, 00       : Initialize higher byte result with 00H
       ADC A           : Add carry in the high byte result
       INX H             : HL Points 4003H
       MOV M, A       : Store the higher byte of result at 4003H
       HLT               : Terminate program execution

8085 Program to Exchange contents of memory locations 8085 Microprocessor

Program to Exchange contents of memory locations 8085 Microprocessor

Statement: Exchange the contents of memory locations 2000H and 4000H

Program 1:

 LDA 2000H : Get the contents of memory location 2000H into accumulator
 MOV B, A    : Save the contents into B register
 LDA 4000H : Get the contents of memory location 4000Hinto accumulator
 STA 2000H : Store the contents of accumulator at address 2000H
 MOV A, B    : Get the saved contents back into A register
 STA 4000H : Store the contents of accumulator at address 4000H

Program 2:
LXI H 2000H          : Initialize HL register pair as a pointer to memory location 2000H.
LXI D 4000H         : Initialize DE register pair as a pointer to memory location 4000H.
MOV B, M     : Get the contents of memory location 2000H into B register.
LDAX D        : Get the contents of memory location 4000H into A register.
MOV M, A     : Store the contents of A register into memory location 2000H.
MOV A, B     : Copy the contents of B register into accumulator.
STAX D        : Store the contents of A register into memory location 4000H.
HLT              : Terminate program execution.

In Program 1, direct addressing instructions are used, whereas in Program 2, indirect addressing instructions are used.
 
;