众所周知,任何程序都可以由三种基本控制结构组成,分别是循序结构,选择结构,循环结构。
这三种结构翻译成汇编语言又是怎样的呢?这里主要考虑的是debug版本。对于release版本经过各种优化后结果不一样,不作考虑。这里的编译器采用的是Visual Studio 2008
顺序结构没什么悬念,这里就不提了,首先看下选择结构。
选择结构,主要有两种表现方式:if{ }el...
分类:
编程语言 时间:
2014-08-15 22:37:19
阅读次数:
337
Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integers. You m...
分类:
其他好文 时间:
2014-08-15 20:53:19
阅读次数:
240
安装: yum?-y?install?http://ftp.riken.jp/Linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
cd?/etc/yum.repos.d
wget?http://www.hop5.in/yum/el6/hop5.repo
yum?clean?all
yum?install?hhvm ...
分类:
其他好文 时间:
2014-08-15 19:47:30
阅读次数:
189
磁盘管理RAID1POC环境在linux上添加2块新的30GB硬盘启动cat/etc/redhat-releasecatName:mdadmRelocations:(notrelocatable)Version:3.2.5Vendor:RedHat,Inc.Release:4.el6BuildDate:Fri07Dec201212:14:45AMCSTInstallDate:Fri01Aug201406:07:09PMCSTBuildHost:x86-003.build.bo..
分类:
系统相关 时间:
2014-08-15 14:48:49
阅读次数:
311
There were hundreds of or thousands of programming languages created since the invention of computer. All these languages have the same target which i...
分类:
编程语言 时间:
2014-08-15 14:08:18
阅读次数:
263
1、Auto_Build_EAS.bat
@echo?off?
@echo?-------------------------
@echo?Only?change?variables?below
set?MSBuildDir=%WINDIR%\Microsoft.NET\Framework\v3.5
set?BuildType=Release
set?Working...
分类:
其他好文 时间:
2014-08-15 13:03:39
阅读次数:
273
一步步写 CMOS 驱动模块
Let's implement a char driver to access the system CMOS.
首先仅仅是创建设备模块,最简单的,类似于前面hello world模块一样的东东,从最简单的框架慢慢搭
/*************************************************...
分类:
其他好文 时间:
2014-08-15 12:54:54
阅读次数:
302
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project XX: Compilation failure: Comp...
分类:
编程语言 时间:
2014-08-15 12:00:48
阅读次数:
251
前提是已经安装了core及base两个组#cat/etc/redhat-release
RedHatEnterpriseLinuxServerrelease6.4(Santiago)
#uname-a
Linuxlocalhost.localdomain2.6.32-358.el6.x86_64#1SMPTueJan29
11:47:41EST2013x86_64x86_64x86_64GNU/Linux修改本机IP为静态获取#vi/etc/sysconfig/net..
分类:
系统相关 时间:
2014-08-15 10:52:19
阅读次数:
343
实验环境#uname-aLinuxlocalhost.localdomain3.10.0-123.el7.x86_64#1SMPMonJun3012:09:22UTC2014x86_64x86_64x86_64GNU/Linuxcat/etc/redhat-releaseCentOSLinuxrelease7.0.1406(Core)添加两块新硬盘做来实验。操作步骤创建分区先分别在两个磁盘上创建六个分区,然后查看分区#..
分类:
其他好文 时间:
2014-08-15 10:51:39
阅读次数:
303