Chandu yadav

Chandu yadav

810 Articles Published

Articles by Chandu yadav

Page 28 of 81

Data Memory Structure of Intel 8051

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 2K+ Views

The 8051 has 128 bytes of On-Chip RAM. So for accessing that RAM area, the address space is 00H to 7FH. When we need more data memory, we can use external RAM. The address space of external RAM is 0000H to FFFFH.The external and internal data memory can be added to increase the total amount of data memory. When we are trying to access the external data memory, then the read RD or write WR will be the output from 8051. The external data memory address can be either 8-bit or 16-bit wide. Generally, the one 8-bit address is used ...

Read More

Representation of fractions

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 1K+ Views

To represent fractions may be necessary quite often inside the computer. For example, it may be needed to represent inside a computer a value like +0.610 or -0.610. To represent signed fractions, it is necessary to assume the binary point just after the MSB in the bit sequence. Such numbers where the binary point is assumed to be at a fixed position in the bit sequence are called fixed-point numbers.Unsigned fractions will have the assumed binary point at the extreme left. SM, 1's complement, and 2's complement fractions will have this imaginary binary point just to the right of the ...

Read More

Instruction set of 8051

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 27K+ Views

The instructions of 8051 Microcontroller can be classified into five different groups. These groups are like belowData Transfer GroupArithmetic GroupLogical GroupProgram Branch GroupBit Processing GroupThis Bit-Processing group is also known as Boolean Variable Manipulation.Like 8085, some instruction has two operands. The first operand is the Destination, and the second operator is Source.In the following examples, you will get some notations. The notations are like −Rn = Any register from R0to R7 Ri = Either R0 or R1 d8 = Any 8-bit immediate data (00H to FFH) d16 = 16-bit immediate data a8 = 8-bit address bit = 8-bit address of ...

Read More

BCD to binary conversion in 8051

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 4K+ Views

In this problem, we will see how to convert 8-bit BCD number to its Binary (Hexadecimal)equivalent. The BCD number is stored at location 20H. After converting, the results will be stored at 30H.So let us assume the data is D5H. The program converts the binary value ofD5H to BCD value 213D.AddressValue...20H9421H...Program   MOVR0, #20H; Initialize the address of the data    MOVA, @R0;Get the data from an address, which is stored in R0    MOVR2, A; Store the content of A into R2        CLRA;Clear the content of A to 00H    MOVR3, #00H LOOP:   ADDA, #01H;increment A ...

Read More

Interfacing 8279 Keyboard with 8085 Microprocessor

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 3K+ Views

Here we will see how 8279 Chip can be used to interface a matrix keyboard with 8085 microprocessors. This chip can be used either keyboard/display interfacing mode or as a strobed input port. But generally, it is used as keyboard interfacing.The keyboard interfacing schemes can also be divided into two modes. These modes are Decoded mode of operationEncoded mode of operationDecoded Mode of OperationIn this mode, the matrix keyboard can have only four rows. These four rows can be selected by using SL3-0 select lines. There are eight columns. These can be selected using RL7-0 these eight column lines. So there are ...

Read More

How to define the location of a font for download in CSS

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 126 Views

The @font-face rule is used to define the location of a font for download, although this may run into implementation-specific limits.ExampleLet us see an example    

Read More

RIM instruction in 8085

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 6K+ Views

In 8085 Instruction set, Read Interrupt Mask. It is a 1-Byte multi-purpose instruction. It is used for the following purposes.To check whether RST7.5, RST6.5, and RST5.5 are masked or not;To check whether interrupts are enabled or not;To check whether RST7.5, RST6.5, or RST5.5 interrupts are pending or not;To perform serial input of data.Mnemonics, OperandOpcode (in HEX)BytesRIM201To get the status information about the interrupt system, Read Interrupt Mask instruction provides status information about interrupt system and this instruction can be used for serial input of data. Through this RIM instruction, 8085 can know which interrupt is masked or unmasked, etc. The ...

Read More

Programming 8051 using Keil Software

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 30K+ Views

In this section we will see how to write and execute programs for 8051 microcontroller using the Keil Software.Download KeilHere is the download link of Keil. You can download it and install it very easily. We are using C51 version for 8051 devices.https://www.keil.com/download/product/Use Keil to write programs for 8051 MicrocontrollerStart the Keil software. Go to the Project > New Project then choose a location to store your program, and give a name and Save.Now in the next window select the device from different manufacturers. We are selecting Microchip, and then by expanding we are selecting AT89C51 device and click ok.Now ...

Read More

Machine language program

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 4K+ Views

Computer can understand only the language of Digital Electronics. Digital Electronics deals with presence and absence of voltages. Within the computer there are two logics can play their role. These logics are −Positive Logic − Here presence of voltage will be denoted by 1 and absence of voltage will be denoted by 0Negative Logic −Here presence of voltage will be denoted by 0 and absence of voltage will be denoted by 1But obviously computer can follow anyone of the logics at a time, not both the logics simultaneously. To make the computer understand, a program can be written using only ...

Read More

How to check android device finger print has enrolled?

Chandu yadav
Chandu yadav
Updated on 27-Jun-2020 544 Views

This example demonstrate about How to check android device finger print has enrolledStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken text view to show finger print manager information.Step 3 − Add the following code to src/MainActivity.javapackage com.example.myapplication; import android.annotation.SuppressLint; import android.app.usage.UsageEvents; import android.hardware.fingerprint.FingerprintManager; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v4.view.MotionEventCompat; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.util.LogPrinter; import android.view.DragEvent; import android.view.MotionEvent; import android.view.View; import ...

Read More
Showing 271–280 of 810 articles
« Prev 1 26 27 28 29 30 81 Next »
Advertisements