| 전자부품 데이터시트 검색엔진 |
|
UM0144 데이터시트(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0144 데이터시트(HTML) 22 Page - STMicroelectronics |
|
22 / 92 page ![]() 3 ST7 Assembler ST7 Assembler Linker 22/92 UM0144 Don't worry if some directives don't make sense yet; they will be covered soon. Also, take special notice of the SEGMENT directive. 3.4 Segmentation Segments are very important. You have to understand segments before you can use the assembler. Take the time to understand them now and you'll save yourself a lot of puzzling later. Segmentation is a way of 'naming' areas of your code and making sure that the linker collates areas of the same name together in the same memory area, whatever the order of the segments in the object files. Up to 128 different segments may be defined in each module. The segment directive itself has four arguments, separated by spaces: [<name>] SEGMENT [<align>] [<combine>] '<class>' [cod] For example: segment word at: FFFC 'code' WORD start end FILE1: st7/ BYTES segment byte at: 80-FF ‘RAM0’ counter.b ds.b ; loop counter address.b ds.w ; address storage ds.b 15 ; stack allocation stack ds.b ; stack grows downward segment byte at: E000-FFFF ‘eprom’ ld A,#stack ld S,A ; init stack pointer end |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |