简体   繁体   English

ATmega32 是 8 位还是 16 位?

[英]Is ATmega32 8-bit or 16-bit?

Is ATmega32 an 8-bit or 16-bit microcontroller? ATmega32 是 8 位还是 16 位微控制器?

While reading Mazidi's AVR book it was stated that RAMEND in ATmega32 is at 0x085f which is a 16-bit address.在阅读马齐迪的AVR书有人说, RAMEND在ATmega32的是0x085f这是一个16位的地址。 Extract from the book here .摘自这里的书。

The cpu is 8-bit, because the general purpose registers are 8-bit registers. cpu是8位的,因为通用寄存器都是8位寄存器。

There are some 16-bit registers, eg, the stack pointer SP, and the program counter PC.有一些16位寄存器,例如堆栈指针SP和程序计数器PC。 But they have to be larger because the address space is more than 256 bytes long.但它们必须更大,因为地址空间超过 256 字节长。

We still say the cpu is 8-bit because the general purpose registers perform 8-bit operations.我们仍然说 cpu 是 8 位的,因为通用寄存器执行 8 位操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM