Keil Logo Arm Logo

Discussion Forum

Force code segment alignment

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Roman Diadioura
Posted
25-Nov-2006 08:27 GMT
Toolset
C51
New! Force code segment alignment

Hello from Russia!
Is there a way to make BL51 to align code segment at the start of BLOCK (2048 bytes). ASEG is not always convenient, and INBLOCK does not force placement at the start of block.

Thanx, Roman.

Read-Only
Author
Jon Ward
Posted
2-Dec-2006 13:54 GMT
Toolset
C51
New! RE: Force code segment alignment

There is not such a directive for the linker. But, with the AX51 assembler, you can set the segment location type to BLOCK. Refer to:

http://www.keil.com/support/man/docs/a51/a51_st_segment.htm

Jon

Next Thread | Thread List | Previous Thread Start a Thread | Settings

arm-logo-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.