The ORG command is a standard (almost universal) command that tells the assembler where
the program is to reside in memory
ORG 명령어는 메모리에 상주할 프로그램의 주소를 알려준다고 되어 있는데,
JMP 와는 다른 듯 한데 무슨 차이일려나..
[출처 : www.ordersomewherechaos.com/rosso/fetish/m102/web100/docs/assemb-tutorial.html]
링크가 깨져, 구글에서 저장된 페이지로 보시기 바랍니다.
23. ORG
Label Operation Operand
optional ORG expression
The ORG directive instructs the assembler to continue the assembly from the
memory location specified by the operand. The operand must be an expression
that can be immediately evaluated, and its value must be a valid address (i.e., it
cannot be negative). Thus the operand can be a number, a known symbol, or an
expression that can be evaluated by the assembler at this point. Such an operand
is called “definable.”
[출처 : http://www.davidsalomon.name/assem.advertis/asl.pdf]
ORG expression
Sets the location counter to expression.
[출처 : MASM reference]
ORG 명령어는 메모리에 상주할 프로그램의 주소를 알려준다고 되어 있는데,
JMP 와는 다른 듯 한데 무슨 차이일려나..
[출처 : www.ordersomewherechaos.com/rosso/fetish/m102/web100/docs/assemb-
링크가 깨져, 구글에서 저장된 페이지로 보시기 바랍니다.
23. ORG
Label Operation Operand
optional ORG expression
The ORG directive instructs the assembler to continue the assembly from the
memory location specified by the operand. The operand must be an expression
that can be immediately evaluated, and its value must be a valid address (i.e., it
cannot be negative). Thus the operand can be a number, a known symbol, or an
expression that can be evaluated by the assembler at this point. Such an operand
is called “definable.”
[출처 : http://www.davidsalomon.name/assem.advertis/asl.pdf]
ORG expression
Sets the location counter to expression.
[출처 : MASM reference]
'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글
gnome-avrdude : avrdude GUI frontend for gnome (0) | 2009.04.15 |
---|---|
linux에서 AVR 컴파일하기 (0) | 2009.04.07 |
AVR Studio / AVR-GCC 뜯어 보기 (0) | 2008.11.18 |
AVR 시작하기 - Hardware 갖추기 (0) | 2008.11.10 |
UTM-1925 PARALLEL to USB 로 PonyProg사용하기 (2) | 2008.11.07 |