- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello, I would like to ask, how can I access Galileo pins via inline assembly. For example, if I wanted to set pin 13 to HIGH(1), what would my inline assembly code look like?
Thanks for any help.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Somik,
It's not possible to program the board that way, or at least I'm not aware of any method for this. The following threads might be of your interest since they discuss similar topics; however, it's not possible to program the board through assembly code:
- (you received a similar response to mine in this thread)
Regards,
Diego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
actually it is possible to use an assembler code to play with gpio pins.
Please let me some time to make a public code example.
BR,
xbolshe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
So, an example is here: https://github.com/xbolshe/galileo-sources/tree/master/blink_asm https://github.com/xbolshe/galileo-sources/tree/master/blink_asm
This is an assembler application. It is not so hard to copy it into a C program as assembly inline code.
BR,
xbolshe

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page