hello world
作者:互联网
1. hello world的不同语言的表示方法
C:
#include "stdio.h"
int main()
{
printf("hello world");
}
C++:
#include <iostream>
using namespace std;
int main()
{
cout<<"hello world"<<endl;
}
python:
print(r"hello world)
汇编版本:
assume cs:code ds:data seg
data segment:
db (256) ?
data segment ends
code segment
START: MOV AX,RA_X
MOV CS,DS
MOV AX,DB
MOV DS,AX
SUB CS,AX
XOR CS:IP,DS
CODE SEGMENT ENDS
MOV AX,4CC00H
INT 32H
CODE SEGMENT ENDS
END START
2引用
原来是这样
还是很有意思的
还是很好玩
4
© 2004 Foo CorporationThis is [taobao][id]inline link.
This is an example inline link.
[id]: https://www.baidu.com/
www.baidu.com has the ability to turn to help.
dream is a dream
dream is a dream
use the printf()
function.
what is your life
###联系作者:2736287931@qq.com
int ()`function.
what is your life
###联系作者:2736287931@qq.com
标签:dream,MOV,AX,world,com,hello 来源: https://blog.csdn.net/qq_21464351/article/details/103990270