MIPs has 32 General registers ($0-$31). The functions of each register and the usage conventions in assembler are as follows:
The following table describes the aliases and usage of 32 general-purpose registers.
; Register
Name
Usage
$0
$ Zero
Constant 0 (constant value 0)
$1
$
Reserved for reserver)
$2-$3
$ V0-$ V1
Function call return value (values for results and expression evaluation)
Tags: des blog Io ar OS use SP for div
1. pipeline structure Pipeline-MIPs is one of the simplest architectures, so the university prefers to choose mips architecture to introduce the computing architecture course.-Arm has Barrel ShifterShifter has two sides. On the one hand, it can improve the speed of mathematical logic operations, and on the other hand, it also increases the complexity of hardware. The
1. pipeline structure Pipeline-MIPs is one of the simplest architectures, so the university prefers to choose mips architecture to introduce the computing architecture course.-Arm has Barrel ShifterShifter has two sides. On the one hand, it can improve the speed of mathematical logic operations, and on the other hand, it also increases the complexity of hardware. Therefore, it is more efficient than adder/s
The difference between Ioremap and ioremap_cachable in Linux (MIPS architecture)
In Arch/mips/include/asm/io.h/** Ioremap-map bus memory to CPU space* @offset: Bus address of the memory* @size: Size of the resource to map** Ioremap performs a platform specific sequence of operations to* Make bus memory CPU accessible via the readb/readw/readl/writeb/* Writew/writel functions and the other Mmio helpers. Th
You may have heard about Google TV that is coming soon in our homes, through Android set-top boxes. it's expected to come out this fall, but the source code of the MIPs port is already available to the public. it is important to note that android was originally designed for smartphones, which commonly use arm processors. however, in the set-top box market, MIPS-based systems are quite popular. this is why t
There's nothing wrong with configure.My configure is:./configure-prefix/opt/qt-jz-xplatform qws/linux-mips-g++-embedded MIPSConfigure passed, but when make, there was mips-linux-gcc:commond not fount!I'm MIPSL-LINUX-GCC, and I've cross-compiled a Hello world.The errors that occur when make are:MAKE[1]: Entering directory '/root/desktop/download/qt-jz/src/corelib 'mips
Reprinted from http://blog.csdn.net/gujing001/article/details/8476685
MIPS Universal Register
MIPS has 32 general-purpose registers ($0-$31), the functions of each register and the use of the assembly procedures are as follows:
The following table describes the aliases and uses of 32 universal registers
REGISTER
NAME
USAGE
$
$zero
Constant 0 (constant value 0)
The ABI is the abbreviation for the application Binary interface, which identifies the operating mode of the processor and the encoding format of the specification target file.
The MIPS instruction set architecture formally supports the 64-bit mode of operation since MIPS3, so the code can follow O32 (o meaning old), N32 (n meaning new) and N64 Abi.
O32 and N64 are pure 32-bit and 64-bit modes, which, in addition to the length difference
My colleagues who have developed Sigma smp8654 have noticed this. The following URLs of the MIPs GCC tool chain Used In SDK 3.11 are invalid.
Http://www.codesourcery.com/gnu_toolchains/mips/portal/package3546/public/mips-linux-gnu/mips-4.3-51-mips-linux-gnu-i686-pc-linux-gn
Build MIPS cross-compiling environment under Ubuntu
Cost Dickens, finally put MIPS cross compilation environment built. Next share this article with you, the method inside is I personally tried, absolutely easy to use. Thank you for the blogger who wrote this article.
MIPS is a RISC processor architecture, similar to the x86,arm and so on, today we introduce h
Add the following update source at the end of the/etc/apt/sources.list file:
Deb Http://ftp.de.debian.org/debian Squeeze MainDeb Http://www.emdebian.org/debian/squeeze Main
To perform a command installation:sudo apt-get updatesudo apt-get install emdebian-archive-keyringsudo apt-get install Linux-libc-dev-mips-crosssudo apt-get install Libc6-mips-cross Libc6-dev-mips
Thank you so much
http://blog.h5min.cn/ajianyingxiaoqinghan/article/details/70194392
http://blog.h5min.cn/zdyueguanyun/article/details/51322295
http://blog.csdn.net/tgww88/article/details/51393570
1, zlib of the cross-compilation:
./configure--prefix= $OPENCV _depend
1
1
After that, the makefile file is modified and the contents are as follows:
cc=mips-linux-gnu-gcc
Ldshared=mips-linux-gnu-gcc-s
1. Kernel stack Switching (MIPS)
When a dispatch switches to a process, the *KERNELSP is set based on the value of the task_struct->thread_info (the bottom of the kernel stack of the process currently running), and the value is Thread_info + thread_size-32 (MIPS, using SET_SAVED_SP macros).
2. Exception, interrupt register Save (MIPS)
When using Save_some to
The recent analysis of the implementation of Godson KVM, by the way and coarse look at the manual of MIPS, with the main KVM-related modules include: CPU Virtualization memory Virtualization of IO
The current godson on the CPU virtualization and the standard kernel difference is small, need hardware and software with support, the current godson overall can support. Kernel virtualization is the key to the Godson KVM scheme, which directly determines th
The instruction set can be divided into complex instruction set (CISC) and thin instruction set (RISC) two parts, representing the architecture are x86 (CISC),ARM and MIPS (RISC)respectively.arm- RISC is a chip system designed to improve processor speed, and its key technology is to complete multiple instructions in a single clock cycle. Compared with the complex instruction set CISC, the instruction set of the ARM instruction sets with RISC archite
the process of writing and debugging. And because this part of the content is very stable, once successfully run, there is little need to modify. No need to change, who will go to see it. 2 context switching is a processor-related process, the so-called context is generally referred to as the CPU registers, and each processor register is different, the switching action is not the same, this article takes MIPS as an example to explain. 3 Embedded appl
1. QuestionsWhen reading or writing to a data unit using a fetch instruction under MIPS, the destination address must be an integer multiple of the number of bytes of data being accessed, which is called address alignment.For example, on the MIPS platform, when LH reads a half word, the memory address must be an integer multiple of 2; when LW reads a word, the address of the memory must be an integer multip
Rust application development in the OpenWrt router system of the MIPS platform, openwrtrust
Author: Liigo (Zhuang Xiaoli)
Date: January 1, September 17, 2014
Original: http://blog.csdn.net/liigo/article/details/39347541
Copyright, reproduced please indicate the source: http://blog.csdn.net/liigo
Target
Use the Rust language to develop application software on the MIPS (el) + OpenWrt router platform.
Compile
MIPs instruction set architecture
The instruction set architecture ISA is fully called the instruction set architecture. MIPS has been continuously expanded since it was proposed in 1988. Its ISA is roughly as follows:
MIPs IThis is the basic MIPS instruction set. Earlier r2000 and r3000 processors implemented this ins
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.