Electronic Components Datasheet Search |
|
KS57P0504 Datasheet(PDF) 35 Page - Samsung semiconductor |
|
KS57P0504 Datasheet(HTML) 35 Page - Samsung semiconductor |
35 / 282 page KS57C0502/C0504/P0504 MICROCONTROLLER ADDRESSING MODES 3–1 3 ADDRESSING MODES OVERVIEW The enable memory bank flag, EMB, controls the two addressing modes for data memory. When you enable the EMB flag, you can address the entire RAM area. When you clear the EMB flag to logic zero, the addressable RAM is restricted to specific areas. The EMB flag works in connection with the select memory bank instruction, SMB n. You will recall that the SMB n instruction is used to select RAM bank 0, bank 1 or 15. The SMB setting is always contained in the upper four bits of a 12-bit RAM address. For this reason, both addressing modes (EMB = "0" and EMB = "1") apply specifically to the memory bank indicated by the SMB instruction, and any restrictions to the addressable area within banks 0, 1 or 15. Direct and indirect 1-bit, 4-bit, and 8-bit addressing methods can be used. In addition, there are several RAM locations that can always be addressed using specific addressing methods, regardless of the current EMB flag setting. Here are a few things to remember about addressing data memory areas: — When you address peripheral hardware locations in bank 15, you can use the mnemonic for the memory- mapped hardware component as the operand in place of the actual address location. — Always use an even-numbered RAM address as the operand in 8-bit direct and indirect addressing. — With direct addressing, use the RAM address as the instruction operand; with indirect addressing, the insttruction specifies a register which contains the operand's address. |
Similar Part No. - KS57P0504 |
|
Similar Description - KS57P0504 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List 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 |