上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页
摘要: 1- SI和DI是8086CPU中和bx功能相近的寄存器, SI和DI不能够分成两个8位寄存器来使用, 下面的三组指令实现了相同的功能:(1) mov bx,0 mov ax,[bx](2) mov si,0 mov ax,[si](3) mov di,0 mov ax,[di]或者(1) mov bx,0 mov ax,[bx + 123](2) mov si,0 mov ax,[si + 123](3) mov di,0 mov ax,[di + 123]方法一: 1 ;用寄存器SI和DI实现将字符串'welcome to masm!'复制到它后面的数据区中. 2 assu 阅读全文
posted @ 2014-02-25 16:50 galoishelley 阅读(2017) 评论(0) 推荐(0) 编辑
摘要: 1- 转化为大写方法一: 1 assume cs:code,ds:data 2 data segment 3 db 'BaSiC' 4 db 'MinIX' 5 data ends 6 code segment 7 start: mov ax,data 8 mov ds,ax 9 mov bx,010 11 mov cx,512 s: mov al,[bx]13 and al,11011111B14 mov [bx],al15 inc bx1... 阅读全文
posted @ 2014-02-25 14:47 galoishelley 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 1-or, and 指令 mov al,01100011B and al,00111011B 执行后al=00100011B mov al,01100011B or al,00111011B 执行后al=01111011B2- 关于ASCII码 世界上有很多编码方案,有一种方案叫做ASCII编码.所谓编码方案,就是一套规则,它约定了用什么样的信息来表示现实对象.比如在ASCII编码方案中,用61H表示"a", 62H表示"b", 一种规则需要人们遵守才有意义.3- 一个文本编辑过程中.就包含着按照ASCII编码规则进行的编码和解码. 在文本编辑器中,我们 阅读全文
posted @ 2014-02-25 10:45 galoishelley 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 以特殊疑问词开头,对句中某一成分提问的句子叫特殊疑问句。常用的疑问词有:what 、who 、whose 、which 、when 、where 、how 、why等。疑问代词:what(什么)who(谁, 做主语)which(哪个, 在一定范围内选择)whose(谁的, 指附属关系)whom(谁, 做宾语)疑问副词when(何时)where(何地)why(询问原因)how(如何, 询问手段, 方式, 工具, 及程度)疑问形容词:what(which, whose) + 名词what time(什么时间), what colour(什么颜色),how many(多少[数量]),how much 阅读全文
posted @ 2014-02-17 10:23 galoishelley 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 情态动词是一种本身有一定的词义,表示说话人的情绪,态度或语气的动词,但不能单独作谓语, 只能和其他动词原形构成谓语。can(could), may(might), must, need, ought to, dare(dared), shall(should), will(would). 阅读全文
posted @ 2014-02-17 09:44 galoishelley 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 一般过去将来时:表示从过去某一时间来看将要发生的动作或存在的状态.从过去的某一刻看即将要发生的动作或状态.常用于宾语从句和间接引语结构:肯定句:1- be(was , were) + going to + 动词原形 //表示过去将来时也可表示根据计划或安排即将发生的事。 She said she was going to start at once.她说她将立即出发。 He told me he was going to return home.他告诉我他准备要回家。 //还可表示根据当时情况判断有可能但不一定会发生某事。 It seemed as if it was going to... 阅读全文
posted @ 2014-02-17 09:38 galoishelley 阅读(736) 评论(0) 推荐(0) 编辑
摘要: part1:1- Which would be easier to remember a munber or a name?Well, I am better at remembering numbers. For those who hava unbelievable memory. they are perfect at both of them. While for those who are terrible at memorizing. they can't even remember a name.2- What are your methods of rememberin 阅读全文
posted @ 2014-02-17 08:56 galoishelley 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 偏移地址的寻址范围受段地址限制0:00000:00011:0段地址+1与之前,中间有FFFF个数0100:00100:10101段地址+1与之前,中间有F个数所以偏移地址的寻址范围为:0-FFFF 阅读全文
posted @ 2014-02-12 15:01 galoishelley 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 1 assume cs:code,ds:data,ss:stack 2 data segment 3 dw 0123H,0456H,0789H,0abcH,0defH,0fedH,0cbaH,0987H 4 data ends 5 stack segment 6 dw 0,0,0,0,0,0,0,0 7 stack ends 8 code segment 9 start: mov ax,stack10 mov ss,ax11 mov sp,16 ;将设置栈顶ss:sp指向stack:1612 13... 阅读全文
posted @ 2014-02-12 14:52 galoishelley 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 1- 程序取得所需空间的方法有两种,一是加载程序的时候为程序分配,再就是程序在执行的过程中向系统申请.2-在代码段中使用数据编程计算以下8个数的和,结果存在ax寄存器中. 0123H,0456H,0789H,0abcH,0defH,0fedH,0cbaH,0987H 1 assume cs:code 2 code segment 3 dw 0123H,0456H,0789H,0abcH,0defH,0fedH,0cbaH,0987H ;dw [define word]定义字符型数据 4 mov bx,0 5 mov ax,0 6 mov cx,8 7 ... 阅读全文
posted @ 2014-02-12 10:35 galoishelley 阅读(609) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页