Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > I'm trying to use assembly code in PSoC5....

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



I'm trying to use assembly code in PSoC5....
Moderator:
ANCY

Post Reply
Follow this topic



I'm trying to use assembly code in PSoC5....

oopsguni posted on 31 Oct 2010 4:21 AM PST

1 Forum Post

How can I use assembly code in PSoC5??

Where is the PSoC5 assembly document??

I can't find PSoC5 assembly document.....

There are many PSoC1, 3 assembly document in www.cypress.com,

but There are not PSoC5 assembly document in www.cypress.com

Could you tell me where  PSoC5 assembly documents are??




Re: I'm trying to use assembly code in PSoC5....

pepe_xestoso posted on 14 Feb 2012 04:00 AM PST

1 Forum Post

 eso digo yo , como se usa el assembler



Re: I'm trying to use assembly code in PSoC5....

Bob Marlowe posted on 14 Feb 2012 09:04 AM PST
Top Contributor
1768 Forum Posts

Hi pepe,

to help and follow up your post, can you please try to use English language? I think most of us members do not speak (rather:write) english as their native language, so just try it.

Bob



Re: I'm trying to use assembly code in PSoC5....

Bob Marlowe posted on 14 Feb 2012 09:15 AM PST
Top Contributor
1768 Forum Posts

The Arm Cortex ist a risc-machine (risc: reduced instruction-set cpu) and as an extra it is a three-address-cpu. The latter means, you may have instructions like "Add register1 and register5 and put thre result into register3"  making programming in assembly not even easier.

Look here http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf

 

Bob



Re: I'm trying to use assembly code in PSoC5....

Robert-CY posted on 14 Feb 2012 07:09 PM PST
Cypress Employee
129 Forum Posts

First of all, it is good practice to open a new topic when a thread has been dead for several months.

Assembler has not so much to do with PSoC 5 but with the core used. The core is a Cortex-M3 from ARM. You need to consult the ARM.com website for the instruction set manual.

PSoC 1 is different because the core M8C is a Cypress product too, that's why Cypress also provides ASM documents for the PSoC 1.

In general I highly discourage you to use ASM for PSoC 5, especially if Pepe post that he wants the forum to show him how to use ASM. For Assembler experts, PSoC 5 would be a real challenge, for ASM newbies.......  not going to happen.

Cheers, Robert






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20