摘要: 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 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(21) 评论(0) 推荐(0) 编辑