How do you identify different registers when you have multiple registers in your computer?

Updated on technology 2024-04-05
7 answers
  1. Anonymous users2024-02-07

    A special function register has its own register name, and using its name means using this register;

    There are two types of data register groups:

    One also has its own name, and has an offset address (which can be thought of as a data subscript), and uses the name + offset address to determine the unique register;

    Another register corresponds one-to-one to the address. Use its address to determine the unique register.

    Specific"Identification"For this method, you need to read the corresponding chip data sheet yourself.

    In fact, from the perspective of machine code, all registers are determined by the address as unique.

  2. Anonymous users2024-02-06

    Data Registers - Used to store integer numbers (see floating-point registers below). In some simple old CPUs, special data registers are accumulators, which are used for mathematical calculations.

    Address Registers - Holds the memory address and is used to access the memory. In some simple old CPUs, the special address registers are the index registers (one or more may be present).

    General Purpose Registers (GPRS) - can hold data or address both, that is, they are a combination of data address registers.

    Floating-point register (FPRS) - Used to store floating-point numbers.

    Constant registers - used to hold read-only values (e.g. , pi, etc.).

    Vector Registers - Used to store data obtained by running simd (single instruction, multiple data) commands on a vector processor.

    Special Purpose Registers - Stores data inside the CPU, such as program counters (or instruction pointers), stack registers, and status registers (or microprocessor status phrases).

    Instruction Register - Stores the instructions that are currently being run.

    Index Register - This is used to change the address of an object in the operation of a program.

    In some architectures, mode indication registers (also known as "machine indication registers") store and set data about the processor itself. Since their intended purpose is to attach to the design of a particular processor, they are not expected to remain the standard between microprocessor generations.

    Registers that extract information from random access memory vs. CPU (a collection of memory registers located on different chips).

    Memory buffer register

    Memory Data Register

    Memory Address Register

    Memory Type Range Registers

  3. Anonymous users2024-02-05

    Summary. The selection of working registers is determined by the values of rs0 and rs1 bits in the program status word psw, when rs1 and rs0 are 00, 01 is 01, 1 is 0, 10 is 1, and 11 is 3. The special register should be between 80h and ffh, a number divisible by 8 (as the teacher said).

    These are all in RAM ROM is normally used to store programs,That is, ** later,The program becomes read-only,So you don't need to even use the computer to use special registers are some used to do registers,Some are used to control,Find a book to see it,Special registers have control io port,There are also timing registers,Pointer and so on,Status words,Interrupt and so on control are also in itThank you very much for your support,I wish you a happy work。

    There are several sets of general-purpose working registers inside the microcontroller, and each group has several registers.

    Your question has been received, it will take a little time to type, please wait a while, please don't end the consultation, you can also provide more effective information, so that I can answer for you more coarsely and dry.

    You are also dear, I am glad to answer the question of the number of slag for you51 series single-chip microcomputer has 4 working register beam modification groups, and there are 8 working registers in the current working register group, which is R0-R7. The selection of the current working register group consists of bits D4 and D3 (rs1, rs0) in the psw. The 89C51 belongs to the 51 series.

    There are 4 groups, called the working register 0 area - code Hu 3 area, each work register potato grandware area is 8 characters late hand blocking section (where each byte is recorded as r0-r7 respectively) occupies a total of 32 bytes of space: the address of the 0 area is 00h-07h; The address of Zone 1 is 08h-0fh; The address of Zone 2 is 10h-17h; The address of Zone 3 is 18h-1fh;

    The selection of the working register is determined by the value of rs0 and rs1 in the program status word psw, when rs1 and rs0 are 00, select area 0 when they are 01, select area 1 when they are 01, select area 2 when they are 10, and select area 3 when they are 11. The special register should be between 80h and ffh, which is divisible by 8 and is divisible by silver (what the teacher said). These are all in RAM ROM is normally used to store programs,That is, ** later,The program becomes read-only,So you don't need to even use the computer to use special registers are some used to do registers,Some are used to control,Find a book to see it,Special registers have control io port,There are also timing registers,Pointer and so on,Status words,Interrupt and so on control are also in itThank you very much for your support,I wish you a happy work。

  4. Anonymous users2024-02-04

    The data in the shift register can be shifted to the right or left in turn under the action of the shift pulse, and the data can be both parallel input and output, serial input and serial output, and can also be parallel input and serial output, or serial input and parallel output, which is very flexible and has a wide range of uses.

    Registers are a commonly used sequential logic circuit, but this sequential logic circuit only contains memory circuits. The memory circuit of a register is composed of latches or flip-flops, because a latch or flip-flop can store 1-bit binary numbers, so n latches or flip-flops can form n-bit registers. Registers are an integral part of the processor.

    Registers are high-speed memory components with limited storage capacity that can be used to temporarily store gesture search instructions, data, and addresses.

  5. Anonymous users2024-02-03

    In the microcomputer principle, the 8088 CPU is a chip with fourteen registers in it.

    Each register has a name: ax, bx, 、..si、di、,,cs、ds...

    To use them as operands, you have to write their names directly.

    Memory, is another chip. Its storage unit has no name, only the address number spike spine code. Lao Dan.

    Use them as operands, there are a variety of addressing methods, and the characteristics of the squire format are all with parentheses: [In the principle of microcomputer, there is no memory, external memory, and there is no U disk.

  6. Anonymous users2024-02-02

    Status register: Used to record the status of the work.

    Flag Register: A flag used to record the results of each operation!

  7. Anonymous users2024-02-01

    The memory has memory and external memory, and the registers are in the CPU.

    When your data is in external memory (such as a USB drive), but you want to run a program from the USB drive, the computer will pass your program from the external memory to memory, and then to the CPU, which is the register. The output is exactly reversed.

Related questions
5 answers2024-04-05

1、ctrl+a:

A stands for all, this shortcut key combination is used to select all files, including all selection of desktop icons, document content to select all, and the frequency of use of this key combination is still relatively high. >>>More

2 answers2024-04-05

Generally, it is used for single-byte characters in plain EnglishASCII code >>>More

8 answers2024-04-05

1) Bits: The smallest unit of data in the computer, and the most direct and basic operation in the computer is the operation of binary bits. >>>More

8 answers2024-04-05

The basic unit of data stored in a hard disk is a sector, which we can understand as a page of a book. When we install or buy a portable hard drive, the first step is to facilitate the management of partitions. No matter what kind of partition tool is used, the first sector of the hard disk will be marked with the number of partitions of the hard disk, the size of each partition, the starting position and other information, the term is called Master Boot Record (MBR), and some people call it the partition information table. >>>More

24 answers2024-04-05

Your computer is not updated.

I forgot what exactly this virus is. >>>More