Friday, 29 July 2011

8085 Instruction set - Branch Instructions

             The branching instructions alter the normal sequential program either conditionaly or unconditionally. As formerly seen in my previous posts in this Series, we divided the Series into four parts: Arithmetic Instructions Logical Instructions Data Transfer Instructions Branch Instructions and I/O, Stack, Machine Control Group Instructions UNCONDITIONAL BRANCHING INSRTRUCTIONS:      JMP :           This instruction is used to jump from one set of programs to another set                 e.g:   In a 8 bit multiplication program, JN2 LOOP it means that if no zero results in previous arithmetic operation,...

Thursday, 28 July 2011

Digital Voltmeter - Part I

Digital Voltmeter ( DVM ) is an Analog to digital    converter (A/D) with a digital display TYPES: (based on the type of ADC used)          1. Dual Slope Type          2. Ramp Type          3. Integrating Type          4. Successive Approximation Type DUAL SLOPE INTEGRATING TYPE:           Principle: Dual slope integrating type digital voltemeter has both +ve and -ve slope during integration there by it averages the errors (or) noise that are present...

8085 Data Transfer Instructions

       Here we are going to discuss about data transfer instructions which move data between register or memory locations. As formerly seen in my previous posts in this Series, we divided the Series into four parts: Arithmetic Instructions Logical Instructions Data Transfer Instructions Branch Instructions and I/O, Stack, Machine Control Group Instructions INSTRUCTIONS:        MOV :            This instruction is used to move the data from accumulator or memory to some registers or vice...

Numerical Methods Using MATLAB - Part 5

Graeffe's Root Squaring Method:            This is a direct method and it is used to find the roots of a polynomial equation with real coefficients. Let us consider an equation of the form:                          ax3 + bx^2 + cx + d = 0 To find the solution of the above equation, we fill up the following table:    m 2^m n1 n2 n3 n4 Given Equation 0 1 a b c d a^2 b^2 c^2 d^2 0 -2*a*c -2*b*d 0 First Squaring 1 2 a^2 b^2 - 2*a*c c^2 - 2*b*d d^2               Thus, the table goes on. The number of squaring done depends on the required accuracy of the solution. The roots are calculated...

Wednesday, 27 July 2011

8085 Logical Instructions

        In my previous post we saw about arithmetic instructions of 8085uP. Now, we are going to discuss about some logical operations which we perform in registers, memory location and on flags. As formerly seen in my previous post in this Series, we divided the Series into four parts: Arithmetic Instructions Logical Instructions Data Transfer Instructions Branch Instructions and I/O, Stack, Machine Control Group Instructions LOGICAL INSTRUCTIONS        ANA :          It logically AND with the accumulator. It means that the accumulator is multiplied with some register values.          e.g: If [A] = 20 >> 0 0 1 0 0 0 0 0         ...

Friday, 22 July 2011

SIRC Part III - Encoding and Decoding

In this post, We examine sample codes for encoding and decoding using Arduino. Encoding:      The frequency of the carrier signal to be sent is 40 KHz. Hence, it takes 25 micro-seconds for one cycle. Each cycle consists of ON and OFF time. The duty cycle denotes the ratio between ON time and Time Period. The duty cycle recommended by SIRC protocol is 1/4 or 1/3. Here we use a duty cycle of 25% (1/4). Hence, the number of cycles required to complete each type of bit is listed below:               Start bit: ( 2400(uS)/25(uS) ) = 96 cycles                '1' bit : ( 1200/25 ) = 48 cycles                '0' bit : ( 600/25 ) = 24 cycles A...

Page 1 of 9123Next

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More