当前位置:网站首页>Big end and small end
Big end and small end
2022-06-25 21:14:00 【Rabbit cloud program】
Interview questions : Write how to test CPU The size of the code ?
Method 1 : Direct high byte judgment
Method 2 : utilize union, principle : Consortium union The storage order of is that all members start from the low address , And all members share storage space , Easier to understand
The big and small end is the topic of long-term conversation in the interview , Especially in some embedded software positions , And the position of system engineer is often mentioned .
First, let's take a look at the big and small side patterns .
Big end model : High bit corresponds to low address , The low bit corresponds to the high address ; In other words , That is, the high bit of the number is stored in the low address of the memory , The low bit is stored in the high address of the memory .
The small end model : High bit corresponds to high address , Low order corresponds to low address ; That is, the high bit of the number is stored in the high address of the memory , The low bit is stored in the low address of memory .
Learn to compile from the beginning , Single chip microcomputer , When does the principle of microcomputer come into being , We always talk about big end and small end modes , But people who don't often play with programming will ignore this detail , And this detail is very important , Especially in hardware data storage , If you don't pay attention to this detail , Will cause your project to crash .
At the intersection with hardware
边栏推荐
- ZABBIX foundation details
- [nailing scenario capability package] company / Park Digital canteen
- Is Galaxy Securities reliable? Is it safe to open a securities account?
- Day 29/100 local SSH password free login to remote
- IPv4 and IPv6 (powercert animated videos)
- MySQL operation Basics
- After 20 days' interview, I finally joined Ali (share the interview process)
- Rounding related calculation
- Decryption of APP parameters of a cross-border export e-commerce - dunhuang.com
- HMS core actively explores the function based on hardware ear return, helping to reduce the overall singing delay rate of the singing bar by 60%
猜你喜欢
05 configuring network parameters
Cloud development practice of the small program for brushing questions in the postgraduate entrance examination - page design and production (home page of the question bank, ranking page, my)
[nail scenario capability package] hospital visitor verification
IPv4 and IPv6 (powercert animated videos)
STM32 self balancing robot project, with code, circuit diagram and other data attached at the end (learning materials and learning group at the end)
Beginner to embedded development
[nailing scenario capability package] exhibition admission
Instant aesthetics of the Centennial Olympic Games: beauty in the air, condensed in minutes and seconds - Alibaba cloud video cloud AI editorial department "cloud smart scissors"
Interview shock: talk about thread life cycle and transformation process?
What is a subnet mask? (Powercert animated videos)
随机推荐
[deep learning series] - visual interpretation of neural network
Multi database and multi table backup and restore of MySQL under Linux
"Developer theory" multi system integrated development - rapid nailing of enterprise owned systems
STM32 self balancing robot project, with code, circuit diagram and other data attached at the end (learning materials and learning group at the end)
R language momentum and Markowitz portfolio model implementation
Illustration tcp/ip - Chapter 3 and 4 notes
Nine built-in objects of JSP and four scopes of Servlet
05 configuring network parameters
OBD Position Overview
Nmap is simple and practical
Compile 6relayd using the cross compiler
[nailing scenario capability package] enterprise and public institution intelligent access control
Lantern Festival, learning at the right time! Novice training camp attacks again, learning buff continues to fill up
Get parameters in URL
Node connection MySQL
Basic knowledge of software engineering required for soft test
Soft test intermediate simple notes
Installing and configuring redis under Linux
Heavy update! Yolov4 latest paper! Interpreting yolov4 framework
C language: array with length 0