嵌入式的了解及虚拟机的安装方法

虚拟机:用软件的方法去模拟一台计算机

安装方法

自定义  linux5  内存2GB(视电脑配置而定)  桥接

DVD  导入  RHEL5.1

Ctrl+alt出光标

软件和网络打钩

开发:老的软件支持

服务器:全部打勾  (老的软件:可选软件包  选tftp-server)

基本系统:全选

防火墙禁用 selinux禁用

超级用户Root 123456

右击打开终端/应用中添加终端

 

Linux发行版:红帽 乌班图 Ubuntu

 

 嵌入式开发具有如下优点:

1 提高了软件的移植性

2 软件人员不需要懂硬件(人才培养周期)

3 引入操作系统提供多任务机制,更加智能性(线程、进程)

4 操作系统提供了丰富的网络协议栈,能够实现远程控制

5 操作系统提供了很多开源软件和工具(提高效率,节约成本)

移植操作系统缺点:成本高。

应用软件(Linux C/C++、AndroidiOSJavaPHP、c#)

1 精通一门语言

2 熟悉一款操作系统

3 熟悉数据结构算法

 

系统软件(驱动、BSP、内核)

1 精通C语言

2 熟悉汇编

3 理解操作系统的实现

4 熟悉硬件的工作原理(CPU、51、ARM、外设、iic、pci、usb、LCD、蓝牙、wifi)

 

软件基础

1 开发语言:C(面向结构)、C++(面向对象)、Java(面向对象)

2 操作系统:Linux、android、ucosii

硬件基础:51、ARM

驱动:Linux、android

扩展:STM32、数据结构

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
CarpVM 是一个用 C 语言编写的小型虚拟机。可以嵌入在应用程序中使用。 包含的指令集有: HALT (code): Halts and attempts to clean up stack, data memory, and label memory before exiting with given exit code. NOP (): Does nothing. Seriously. LOAD (reg, val): Loads given integer value into given register. MOV (dst, src): Copies contents of src register into dst register. ADD (): Pops the top two integers from the stack and pushes their sum. SUB (): Pops the top two integers from the stack and pushes the difference (lower minus upper). MUL (): Pops the top two integers from the stack and pushes their product. MOD (rega, regb): Computes rega % regb and stores in ERX. NOT (reg): Computes bitwise NOT of reg and stores in reg. XOR (): Pops the top two integers from the stack and XORs them. OR (): Pops the top two integers from the stack and ORs them. AND (): Pops the top two integers from the stack and ANDs them. INCR (reg): Increments value in given register. DECR (reg): Decrements value in given register. INC (): Increments the value at the top of the stack. DEC (): Decrements the value at the top of the stack. PUSHR (reg): Pushes value in given register. PUSH (val): Pushes given value. POP (val): Pops an integer from the stack and dumps it into GBG. CMP (): Pops the top two integers from the stack and checks if equal. 0 means equal. Result will be pushed onto the stack. MOV (rega, regb): Move value in rega to regb. JZ (addr): Jumps to given absolute address if top of the stack is 0. RJZ (diff): Adds differential to current EIP (relative jump) if top of the stack is 0. JNZ (addr): Jumps to given absolute address if top of the stack is not 0. RJNZ (diff): Adds differential to current EIP (relative jump) if top of the stack is not 0. JMP (addr): Jumps to given absolute address. RJMP (diff): Adds differential to current EIP (relative jump). DBS (key, val): Sets data memory at key (string pointer) to given value. DBG (key, reg): Gets value from data memory at key (string pointer) and dumps it into given register. CALL (key, nargs): Save state and set EIP to value in data memory at key. RET (val): Push return value and load state. PREG (reg): Prints contents of given register. PTOP (): Peeks top of stack and prints top value. 标签:CarpVM

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值