当前位置:网站首页>Description of module data serial number positioning area code positioning refers to GBK code
Description of module data serial number positioning area code positioning refers to GBK code
2022-06-24 07:26:00 【Little yellow man software】
Description of the positioning of the module data :
With GBK For example
GBK Yes GB2312 It has been extended . The first byte is 0x81~0xFE, The second word
This section is divided into two parts , One is 0x40~0x7E, Two is 0x80~0xFE.
namely (0x7f-0x40+0xff-0x80)= A district 190 A word .
The positioning method is as follows :
Subtract... From the first byte 0x81, Is the right location , The size of each area depends on the bytes occupied by each word ×190
(0x7f-0x40+0xff-0x80) that will do . If the second byte is less than 0x7f Then subtract 0x40,
If the second byte is greater than or equal to 0x80 Then subtract 0x41.
High position of positioning =( Area code high bit -0x81)*0xBE
Low position of positioning = If Area code low order <0x7F , Area code low order -0x40
If Area code low order >=0x80 , Area code low order -0x41
such as D2BB One
High position of positioning =D2-81 =0x51
Low position of positioning =BB-41 =0x7A
0x51*0xBE+0x7A=0x3C98=15512
namely
location 1 Corresponding area code 0x8140 A bird's nest
location 2 Corresponding area code 0x8141 A kind of
location 190 Corresponding area code 0x8240 侤
location 15512 Corresponding area code 0xD2BB One

边栏推荐
- Accelerate large-scale data analysis based on Apache iceberg through data organization optimization
- [mrctf2020] thousand layer routine
- Cisco router configuration notes: static routing, rip, OSPF, principles combined with experiments, worth a visit!
- Learning to use BACnet gateway of building control system is not so difficult
- 使用SystemParametersInfo访问用户界面设置
- 0 foundation a literature club low code development member management applet (4)
- 【WordPress建站】5. 设置代码高亮
- Development of IOT device end - establishment of development environment
- Accessing user interface settings using systemparametersinfo
- 基因检测,如何帮助患者对抗疾病?
猜你喜欢

两个链表的第一个公共节点_链表中环的入口(剑指offer)

Dichotomous special training

Huawei cloud image engine service
![[GUET-CTF2019]zips](/img/79/22ff5d4a3cdc3fa9e0957ccc9bad4b.png)
[GUET-CTF2019]zips

Learning to use BACnet gateway of building control system is not so difficult
![[image feature extraction] image feature extraction based on pulse coupled neural network (PCNN) including Matlab source code](/img/b3/26cfa385aa357c3a7a77e9db47e94c.png)
[image feature extraction] image feature extraction based on pulse coupled neural network (PCNN) including Matlab source code

捏脸师: 炙手可热的元宇宙造型师

MySQL - three tables (student, course, score) to query the name, number and score of students whose course is mathematics

jarvisoj_level2

The first common node of two linked lists_ The entry of the link in the linked list (Sword finger offer)
随机推荐
华为云数据库进阶学习
华为云图引擎服务
What is an intrusion detection system?
What is the mentality of spot gold worth learning from
App management platform app host
[GUET-CTF2019]zips
取模软件 模拟显示验证取模数据正确性 逆向 把点阵数组bin文件转显示
bjdctf_2020_babystack
The first common node of two linked lists_ The entry of the link in the linked list (Sword finger offer)
捏脸师: 炙手可热的元宇宙造型师
Kaseya of the United States was attacked by hackers, and 1500 downstream enterprises were damaged. How can small and medium-sized enterprises prevent extortion virus?
【小技巧】使用matlab的深度学习工具箱deepNetworkDesigner快速设计
Coding helps promote the internationalization of Tencent games
Web messaging and woker classification: talking about the cross thread and cross page communication of PostMessage
華為雲數據庫進階學習
Accelerate large-scale data analysis based on Apache iceberg through data organization optimization
超宽带脉冲定位方案,UWB精准定位技术,无线室内定位应用
【图像特征提取】基于脉冲耦合神经网络(PCNN)实现图像特征提取含Matlab源码
基因检测,如何帮助患者对抗疾病?
buuctf misc [UTCTF2020]docx