The Linux system is often used in the work, and in order to learn conveniently, install a redhat via VMware Workstation on your notebook 32-bit operating system ( LINUX.TLF-SOFT-REDHAT.ENTERPRISE.LINUX.V5.UPDATE.7.X86_64.DVD-HOTISO.ISO) system, configure the virtual machine and click Install pop-up prompts,
The following figure
Prompts the native system to support 32-bit unable to install 64-
The software is divided into two parts. One is the 128-bit virtual computer simulator that supports both English and Chinese instructions in the csys instruction set. One is based on this kind of computer in the compilation of the Chinese and English environment. There are also some gadgets.Welcome to use the software.This software includes the Chinese assembly language compiler software. is a cross-assembler on a PC that is compatible with the CRISC1
Linux identifies 64-bit cpu-Linux Enterprise Application-Linux server application information. The following is a detailed description. Run the command x86info to check whether the cpu supports the x86-64 command. Execute two commands respectively. X86_64 can run 64-bit cpu.
X86-64 CPU Architecture and 64-bit GCC changes to program compilation processing
Jochen1986Reprint Please specify source: http://blog.csdn.net/youkawa/article/details/45458921
Universal registers are all extended to 64 bits, with the register name preceded by R, such as RAX, RBX, RCX, RDX, RSI and RDI;
The instruction pointer (instruction pointer), the base address pointer (base pointer
Http://www.grc.com/securable.htm
The first 64-bit indicates the maximum number of supported systems on your computer, 32 or 64.
The second one indicates whether your hardware supports dep? Yes, yes. No, not supported. Off, indicating yes, but disabled.
Third, whether your computer supports CPU virtualization. Yes, yes. No, not supported. Off, which indicates yes, but disabled, must be opened manually.
I wrote an sort algorithm to test the speed, but the 100 x W has exceeded the 32-bit limit. The 32-bit PC should be the power of 2, I hope a friend with a 64-bit CPU can test it. Of course, don't forget to tell me the result.
Import java. util .*;Class dumbsort {Public static void main (string [] ARGs ){Final int F1 =
Transferred from: bytes
MMX commands can be used to accelerate on desktops, but MMX commands are not widely used on arm CPUs.
I used a small trick to optimize the Alpha. Alpha mixing is actually very simple. All you need to do is to break down the source color C1, the destination color C2, and then divide the color
The numbers R1, G1, B1, R2, G2, and b2 are calculated by the formula (CLR * Alpha + CLR * (32-alpha)/32, respectively, finally, combine them into a color value. However, the computati
Raw Data 1 Administrative Logistics 00012 Hospital Office0001048100024 Propaganda Room 0001048100045 General Registry 0001048100056 mailroom 0001048100067 Fleet 0001048100078 Human Resources Department 0001000810 Hospital Control Office 0001001011 Medical records Management Office 0001001112 Department of Nursing 0001001213 Disinfection Supply Center 0172001314 Science and Education Office 0001001416 College Office 0001001617 Audit Office 0001001718 Trade Unions 0001001819 Youth League 000100192
image is a 24-bit genuine color, indicating its data part. Three bytes represent a pixel, and the three bytes represent RGB respectively.What we need to do now is to calculate the average value of the RGB value of each pixel, and then represent it with the value closest to the brightness of the color in the 16-color palette.The 4-bit image represents two pixels
Given an array of integers, every element appears three timesexcept for one. Find the single one.Note:Your algorithm should has a linear runtime complexity. Could you implement itwithout using extra memory?HidetagsBit Manipulation#pragma once#include137.Single number II (Method 1 sequencing 2STL container map hashing 3-bit operation 4 improved bit operation)
replaced by simple:/*****************************************************/unsigned int sequentialdatachannel::inputfragment (void)/*****************************************************/{if (!buffer) buffer = new char[m_robpagesize*100000*401];Char buffer[2048*20];This->getnextfragment ((unsigned int*) buffer, (unsigned long) m_robpagesize);return 0;}In this way, the number model of the Ros receiver is simplified to a while loop that blocks recv.At this point the test results are: (msg_size = 20
In general, the CPU temperature of 80 degrees or so is the normal temperature, if it is 90-100, this temperature is too high, and sometimes estimated the CPU itself will appear hardware problems, the specific methods are as follows:
1. Add an auxiliary external fan to the chassis, or buy a small fan to align the chassis to speed up the heat dissipation inside the chassis;
2, the first computer chassis to
beiqiao, and its functions have been integrated into the CPU.
PCI Bus: PCI bus is a high-performance local bus, which is not limited by CPU and forms a high-speed channel between CPU and peripherals. For example, the current video card generally uses a PCI slot, and the PCI bus transmission speed is fast, so that the video card and the
Here is a simple CentOS system to see if the CPU supports 64-bit examples, I hope this example can help everyone.
To see if LM is in the Cpuinfo, if LM indicates support for 64-bit, LM means long mode, and the specific commands are as follows:
Cat/proc/cpuinfo | grep flags
Check to see if LM characters are inside the output
Or
Cat/proc/cpuinfo | grep Flags |
The salary is exactly the same as that of my aunt. Once a month, I leave in about a week. I paid my salary on the 10th. Today I bought a mobile hard drive, added 2 GB of memory, and paid 500 to my friend. Then I had to pay for the meal, and this month it went light again, yes !!!!!
But the happy thing is that there is a 1 TB mobile hard drive, the memory is also 4 GB>.
This reminds me that your system is 32-b
I will upload my new book "Write CPU by myself" (not published yet). Today is 12th articles. I try to write them every Thursday.
Change the title of "self-writing processor" to "self-writing CPU".
4.3 verify the implementation of openmips 4.3.1 instruction memory Rom
This section checks whether our openmips is implemented correctly, including: whether the pipeline is correct and whether the Ori command is
I will upload my new book "Write CPU by myself" (not published yet). Today is 13th articles. I try to write them every Thursday.
4.4 create the MIPs compiling environment
The openmips processor is designed to be compatible with the mips32 instruction set architecture. Therefore, you can use the existing GNU development tool chain under the mips32 architecture. This section describes how to install and use the GNU development tool chain and how to cre
Will be uploaded I wrote a new book, "Write Your Own CPU" (not yet published), today is the 23rd, I try to four weekly6.4Test ProgramThis section will verify that the mobile operation instructions added to the Openmips processor are implemented correctly with a test program as follows, corresponding to the book with the CD code\chapter6\asmtest The Inst_rom in the directory . S file. . org 0x0.set Noat.global _start_start://Give register $, $, $, $
Instruction Set
Y86 Instruction Set
Operator: addl, subl, andl, and xorl
Jump character: JMP, jle, JL, je, JNE, jge, andjg
Condition characters: cmovle, cmovl, cmove, cmovne, cmovge, and cmovg
Others: Call, pushl, popl, halt
Registers
% Eax, % ECx, % edX, % EBX, % ESI, % EDI, % ESP, % EBP
The stack pointer has % ESP.
The address where the PC stores the current command
Condition code (Status Code)
1. Normal Command Execution
2. Pending
3. invalid read/write address
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.