第三章 CentOS基础了解... 36 第一节 语言编码.终端... 36 I 查看语言编码... 36 II Tty?.pts/?. 36 第二节 bash/sh command. 38 I 查找... 39 II 进程... 41 III tar - cz压缩xC解压tv查看... 42 第一节 环境配置文件... 44 I 配置文件... 44 II su切换用户... 45 III 登录模式... 45 第二节 shell 47 I 命令的优先级... 48 II 别名... 48 I…
创建文件: # -*- coding: gbk -*- #! /auto/ERP/python_core/chapter ''' Created on 2014年5月21日 @author: user function : create a new file ''' import os ls = os.linesep #get file name while True: fname = raw_input('PLS enter a file name:') if os.path.exists(f…
3.2 例子:整数相加减 现在来看一个进行整数加减操作的汇编语言小程序.寄存器用于存放中间数据,我们调用一个库函数在屏幕上显示寄存器的内容.下面是程序的源码: TITLE Add and Subtract (AddSub.asm) ;This program adds and subtracts 32-bit integers. INCLUDE Irvine32.inc .code main PROC mov eax,10000h ;EAX = 10000h add eax,40000h ;E…