TAILIEUCHUNG - HandBooks Professional Java-C-Scrip-SQL part 186

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 186', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | _DataEnd . rom bss Uninitialized data. _BssStart . .bss _BssEnd . _BottomOfHeap . The heap starts here. _TopOfStack 0x80000 The stack ends here. text rom The actual instructions. .text This script informs the GNU linker s built-in locator about the memory on the target board and instructs it to locate the data and bss sections in RAM starting at address 0x00000 and the text section in ROM starting at 0x80000 . However the initial values of the variables in the data segment will be made a part of the ROM image by the addition of rom at the end of that section s definition. All of the names that begin with underscores _TopOfStack for example are variables that can be referenced from within your source code. The linker will use these symbols to resolve references in the input object files. So for example there might be a part of the embedded software usually within the startup code that copies the initial values of the initialized variables from ROM to the data section in RAM. The start and stop addresses for this operation can be established symbolically by referring to the integer variables _DataStart and _DataEnd . The result of this final step of the build process is an absolutely located binary image that can be downloaded to the embedded system or programmed into a readonly memory device. In the previous example this memory image would be exactly 1 MB in size. However because the initial values for the initialized data section are stored in ROM the lower 512 kilobytes of this image will contain only zeros so only the upper half of this image is significant. You ll see how to download and execute such memory images in the next chapter. Building das Blinkenlights Unfortunately because we re using the Arcom board as our reference platform we won t be able to use the GNU tools to build the examples. Instead we ll be using Borland s C Compiler and Turbo Assembler. These tools can be run on any DOS or Windows-based PC. 3 If you have an Arcom board to experiment .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.