723 views|12 replies

73

Posts

0

Resources
The OP
 

I need help from all the experts, I am a beginner, I am looking at assembly language and I am stumped at the beginning. [Copy link]

 

I need help from all the experts, I am a beginner, I am looking at assembly language and I am stumped at the beginning.

What is the relationship between binary numbers and decimal and hexadecimal numbers in machine language? How to convert? What are the advantages of hexadecimal? Why are they all represented in hexadecimal? Aren't data transmission and storage all binary numbers?

This post is from 51mcu

Latest reply

Machines only recognize binary information. Humans use decimal numbers. Octal and hexadecimal numbers are very convenient to convert into binary, and they require fewer bits than binary, making them easier to write. However, they must ultimately be converted into machine language through an assembler for use by machines.   Details Published on 2024-1-1 11:31
 

2w

Posts

0

Resources
2
 

[I am looking at assembly language and I am starting to get confused]

What does 【接难了】 mean?

This post is from 51mcu
 
 
 

2w

Posts

0

Resources
3
 

What is the relationship between binary numbers in machine language and decimal and hexadecimal?

The same number can be expressed in decimal, binary, or hexadecimal. Binary 0101 and decimal 05 represent the same number.

This post is from 51mcu
 
 
 

2w

Posts

0

Resources
4
 

[What are the advantages of hexadecimal? Why are they all represented in hexadecimal?]

Nowadays, eight binary bits are used as one byte (early computers used six or seven bits). Two hexadecimal characters can represent one byte, which is more convenient.

This post is from 51mcu
 
 
 

111

Posts

0

Resources
5
 

Beginner compilation! ?

Why give yourself such a difficult start?

This post is from 51mcu

Comments

College students should start learning MCU in assembly language, at least we learned assembly language at that time.  Details Published on 2023-12-14 09:34
 
 
 

6075

Posts

6

Resources
6
 
lemonboard posted on 2023-12-14 09:26 Beginner assembly language! ? Give yourself such a big starting point?

College students should start learning MCU in assembly language, at least we learned assembly language at that time.

This post is from 51mcu
 
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 

6075

Posts

6

Resources
7
 

This depends on what stage you are in. College students should still follow the pace of the school, but you can get a relatively complete study material such as Zhengdian Atom.

This post is from 51mcu
 
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 

6069

Posts

4

Resources
8
 
This post was last edited by damiaa on 2023-12-14 10:02

If you use binary system to calculate, you will be exhausted. So you should use hexadecimal system to deal with people.

For example, 32-bit binary and hexadecimal

11111111 11111111 11111111 11111111

0xffffffff

Which one do you prefer? Machines recognize the ones above, but humans prefer the ones below, right?

There are decimal, signed numbers, floating point, double precision, all of which are for people. People who do mathematics like to do these.

This post is from 51mcu
 
 
 

894

Posts

0

Resources
9
 

The CPU, memory, etc. are all binary internally, but it is inconvenient to use binary when programming. Generally, hexadecimal or decimal is used, and the compiler or assembler will automatically convert it into binary.

This post is from 51mcu
 
 
 

7462

Posts

2

Resources
10
 

Different formats, but still the same thing

This post is from 51mcu
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

1w

Posts

142

Resources
11
 

There are a lot of garbled characters in the post, and I don’t know what to say…

This post is from 51mcu
 
Personal signature上传了一些书籍资料,也许有你想要的:https://download.eeworld.com.cn/user/chunyang
 
 

1w

Posts

142

Resources
12
 

If you want to get timely and effective help, first describe the problem correctly and completely.

This post is from 51mcu
 
Personal signature上传了一些书籍资料,也许有你想要的:https://download.eeworld.com.cn/user/chunyang
 
 

736

Posts

4

Resources
13
 

Machines only recognize binary information. Humans use decimal numbers. Octal and hexadecimal numbers are very convenient to convert into binary, and they require fewer bits than binary, making them easier to write. However, they must ultimately be converted into machine language through an assembler for use by machines.

This post is from 51mcu
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list