会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Chan's blog
2022年11月21日
ConstraintLayout提高-下
摘要: bias的使用 这个不一定在中间可以改变力的大小 <TextView android:layout_width="100dp" android:layout_height="50dp" android:background="@color/purple_700" android:gravity="c
阅读全文
posted @ 2022-11-21 12:47 Z_Chan
阅读(27)
评论(0)
推荐(0)
汇编中的db和dw
摘要: assume cs:code code segment ; db 1h,2h,3h,4h; arr[] in cs ip=[0,1,2,3] dw 1200h,1300h; arr[] in cs ip=[0,2,4] 读出来是反的1200变0012,很烦这个我一般都是试一下就知道了不记 ;会读成代
阅读全文
posted @ 2022-11-21 12:18 Z_Chan
阅读(310)
评论(0)
推荐(0)
汇编loop循环
摘要: assume cs:code code segment mov cx,0ffh ;循环ff次,到00就停止loop mov bx,0 ;初始化bx,这个是偏移地址 s: mov ax,0h mov ds,ax ;确定ds段地址为0 mov al,ds:[bx] ;两位两位读数据 add bx,200
阅读全文
posted @ 2022-11-21 12:07 Z_Chan
阅读(77)
评论(0)
推荐(0)
[bx]的使用
摘要: assume cs:codesg codesg segment mov ax,1000h mov ds,ax mov ax,[5];this [5] can not symbol [5] in debug ;or mov ax,ds:[5] ; mov bx,5 ; mov ax,[bx] ; mo
阅读全文
posted @ 2022-11-21 11:27 Z_Chan
阅读(52)
评论(0)
推荐(0)
第一段8086汇编代码
摘要: assume cs:codesg codesg segment mov ax,12h mov ax,4c00h int 21h ;return to cmd -p codesg ends end assume cs:codesg //确定cs段地址,就是代码段地址,取个别名叫codesg codes
阅读全文
posted @ 2022-11-21 11:20 Z_Chan
阅读(35)
评论(0)
推荐(0)
导航
首页
新随笔
联系
订阅
管理
公告