E D R , A S I H C RSS

기술적인의미에서의Zero Page

extracted from ZeroPage

다.
8bit CPU 6502를 로 들겠다.
6502 는 16bit addressing 가능 CPU 다. , $0000 ~ $FFFF .
6502 는 13가 메모리 access 방 는데, 그 나가 zero page addressing 다.
8bit 만 , 8bit 00 로 가고 addressing
$0000~$00FF 가 됩다. 렇게 더 빠른 access 가 가능다고 다.
메모리 zero page 라고 는군.

다.

The zero page instructions allow for shorter code and excution times by only feching the
second byte of the instruction and assumming a zero high address byte.
Careful use of the zero page can result in significant increase in code efficient.
( 명령 명령 를 0로 가고 단만 가, 다. 깊게 명령 는 것 가능 다.)

: http://www.6502.org/datasheets/csg6500.pdf
--
디로 공과 로( 가 -_-) 미가 닐까?

X

ZeroPage 그래 기법라는 것과 닐까. 『, 그 광기 기록』더군.--Leonardong

) WikiPedia:Zero_page
{{|
The zero page is the memory address page at the absolute beginning of a computer's address space (the lowermost page, covered by the memory address range 0 ... page size1).
메로리 공 는 메모리 다. (가 0부 -1만를 갖는다)

In early computers, including the PDP-8, the zero page had a special fast addressing mode, which facilitated its use for temporary storage of data and compensated for the relative shortage of CPU registers. The PDP-8 had only one register, so zero page addressing was essential.
기 PDP-8 라는 것 빠른 메모리 모드를 갖는다.
는 데는데 고 당 CPU 려는 것다.

Possibly unimaginable by computer users after the 1980s, the RAM of a computer used to be faster than or as fast as the CPU during the 1970s. Thus it made sense to have few registers and use the main memory as substitutes. Since each memory location within the zero page of a 16-bit address bus computer may be addressed by a single byte, it was faster, in 8-bit data bus machines, to access such a location rather than a non-zero page one.
1980 1970 CPU 만 빠르고 그 보다 더빠른 메로리가 다. 그러면로 메 메로리를 를 갖는 것 다. 16 를 갖는 각 메모리가 되기 때문 메모리가 닌 곳보다 메모리를 는데, 8 를 갖는 머보다 더 빨랐다.

For example, the MOS Technology 6502 has only six non-general purpose registers. As a result, it used the zero page extensively. Many instructions are coded differently for zero page and non-zero page addresses:
를 들면 the MOS Technology 6502 는 6개 non-general 목 를 가다. 결과는 것 라는 개념 다. 많 명령 다르게 다.

LDA $00 ; zero page
LDA $0000 ; non-zero page
The above two instructions both do the same thing; they load the value of $00 into the A register. However, the first instruction is only two bytes long and also faster than the second instruction. Unlike today's RISC processors, the 6502's instructions can be from one byte to three bytes long.
2개 명령 모두 동 다; 것들 A $00라는 값 로드다. 명령는 단 2바 고 두 명령보다 더 빠르다. 늘날 RISC 다르게 the 6502 명령 1바 3바가 되는 것 가능다.

Zero page addressing now has mostly historical significance, since the developments in integrated circuit technology have made adding more registers to a CPU less expensive, and have made CPU operations much faster than RAM accesses. Some computer architectures still reserve the beginning of address space for other purposes, though; for instance, the Intel x86 systems reserve the first 512 words of address space for the interrupt table.
IC놀로 로 CPU 를 늘리게 되따라 RAM 는 것 보다 더 빠른 CPU명령게 되기 때문 대개는 미를 갖는다. 그럼 고, 다른 목 라는 개념 기는 다; 를 들 x86 512 다.
|}}

http://lxr.linux.no/source/Documentation/i386/zero-page.txt
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:47
Processing time 0.0179 sec