Motorola LD-W-1 User's Guide Page 6

  • Download
  • Add to my manuals
  • Print
  • Page
    / 23
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 5
System LSI Division, Semiconductor Business
3 Matters that Require Attention
3.1 User’s Guide for inserting NOP instruction in Command Line And IDE in
Some Devices (from 1.56 CalmSHINE16)
3.1.1 Related Device Lists
When the user use below Devices, there is the matters that require Attention.
S3EC9E1, S3CC9E4, S3CC9E8
S3EC9G1, S3CC9G4, S3C9G8
S3EC9G0, S3CC9GC, S3CC9GW
S3EC9Q0, S3CC9EB, S3CC9EF, S3CC9NC, S3CC9NW, S3CC9NA, S3CC9TC, S3CC9TW, S3CC9TF
These Devices run incorrectly when the some code combination exist in EEPROM.
The IDE support automatically forcing below options for standard Library, so all users of above Devices should just
Rebuild All EEPROM Project.
BUT, when the User library is made by IDE allocated EEPROM, After rebuilding the User Library by “–d” in Assembly
Option User Input. Please use “–9 <User Library Name>” option in Linker Option User Input. And Build the
Application Project.
And the Command Line User should follow below Guide line.
3.1.2 Assembler (from V1.54e1S)
Following assembler options are supported.
-b This option inserts a NOP between a specific sequence of code.
LDW An, @[Ai+x]
LDB Ry, @[An+z] OR LDW Ay, @[An+z]
In the above pattern first instruction must be a load to An from Ai and the next instruction must be wither
LDB or LDW with An as source register. Destination of first LDW must be same as source of next LDB/LDW.
The NOP is inserted after first LDW if this pattern is found in EEPROM are (ECODE section).
eSec1 SECTION ECODE
eSec1
ld a9, #_xyz
ldw a10, @[a9+2]
ldb r2, @[a10+2]
add r2, #2
In above case a10 is destination in first LDW and source in next LDB, and these instructions are placed in
ECODE section, thus a NOP is inserted after first LDW.
>CalmAsm16 –b input.s
-d Same as –b but NOP is inserted regardless of the section type, i.e. NOP is inserted if sequence is found in
any code section (CODE and ECODE).
2 Property of Samsung Electronics Co., Ltd.
Page view 5
1 2 3 4 5 6 7 8 9 10 11 ... 22 23

Comments to this Manuals

No comments