实验内容 1. 综合使用 loop,[bx],编写完整汇编程序,实现向内存 b800:07b8 开始的连续 16 个 字单元重复填充字数据0403H。 实验代码: assume cs:code code segment mov ax,0b800h(不能以字母开头,前面置零) mov ds,ax mo ...
分类:
其他好文 时间:
2018-11-22 22:34:33
阅读次数:
238
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2018-11-22 21:08:43
阅读次数:
129
汇编语言源程序中: code segment 定义一个叫“code”的段 .... 中间的为汇编指令,最终为cpu执行 ;伪指令由编译器执行。 ends segment说明一个程序开始,ends说明结束,为成对出现的伪指令。 end 是汇编程序结束的标志,没有则编译器不知在何处停止。 assume ...
分类:
其他好文 时间:
2018-11-19 21:32:32
阅读次数:
183
https://leetcode.com/problems/longest-palindromic-substring/ Given a string s, find the longest palindromic substring in s. You may assume that the ma ...
分类:
其他好文 时间:
2018-11-19 15:07:40
阅读次数:
186
四.实验结论 练习一: (1)编写汇编程序: assume cs:codecode segment mov ah,2 mov dl,6 add al,30h int 21h mov ah,2 mov dl,5 add dl,30 int 21h mov ah,4ch int 21hcode ends ...
分类:
其他好文 时间:
2018-11-18 21:08:44
阅读次数:
156
1. 综合使用 loop,[bx],编写完整汇编程序,实现向内存 b800:07b8 开始的连续 16 个 字单元重复填充字数据0403H。 源代码为 assume cs:codecode segment mov dx, 0b800h mov ds, dx mov bx, 07b8h mov cx, ...
分类:
其他好文 时间:
2018-11-18 21:07:43
阅读次数:
155
实验结论: 1、 (1) assume cs:codecode segment mov ax,0b800h mov ds,ax mov cx,16 mov bx,07b8h mov ax,0403h s: mov [bx],ax add bx,2 loop s mov ax,4c00h int 21 ...
分类:
其他好文 时间:
2018-11-18 19:22:57
阅读次数:
160
1. 实验内容1 (1)源代码 assume cs:codecode segment mov ax, 0b800h mov ds, ax mov bx, 07b8h mov ax,0403h mov cx, 16 s:mov [bx], ax inc bx inc bx loop s mov ax, ...
分类:
其他好文 时间:
2018-11-18 18:17:04
阅读次数:
201
实验内容 1. 综合使用 loop,[bx],编写完整汇编程序,实现向内存 b800:07b8 开始的连续 16 个 字单元重复填充字数据0403H。 实验代码: assume cs:code code segment mov ax,0b800h(不能以字母开头,前面置零) mov ds,ax mo ...
分类:
其他好文 时间:
2018-11-18 18:15:52
阅读次数:
176
实验四 1. 综合使用 loop,[bx],编写完整汇编程序,实现向内存 b800:07b8 开始的连续 16 个 字单元重复填充字数据 0403H。 assume cs:codecode segment mov ax,0b800h mov ds,ax mov bx,07b8h mov cx,000 ...
分类:
其他好文 时间:
2018-11-18 16:37:01
阅读次数:
200