{"id":23802346,"url":"https://github.com/technosf/xtensaasmpoc","last_synced_at":"2026-06-07T16:31:38.632Z","repository":{"id":75890662,"uuid":"163612471","full_name":"technosf/XtensaAsmPOC","owner":"technosf","description":"Xtensa Asm from Arduino Core Proof Of Concept","archived":false,"fork":false,"pushed_at":"2019-01-02T18:09:17.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-11T16:34:30.988Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technosf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-30T19:34:14.000Z","updated_at":"2024-02-21T13:41:52.000Z","dependencies_parsed_at":"2023-07-12T00:01:03.649Z","dependency_job_id":null,"html_url":"https://github.com/technosf/XtensaAsmPOC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/technosf/XtensaAsmPOC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technosf%2FXtensaAsmPOC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technosf%2FXtensaAsmPOC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technosf%2FXtensaAsmPOC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technosf%2FXtensaAsmPOC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technosf","download_url":"https://codeload.github.com/technosf/XtensaAsmPOC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technosf%2FXtensaAsmPOC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34029790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-01T22:21:02.316Z","updated_at":"2026-06-07T16:31:38.468Z","avatar_url":"https://github.com/technosf.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xtensa ASM Proof Of Concept\nXtensa Asm from Arduino Core Proof Of Concept\n\nPOC using Arduino core for ESP32 ASM where the ASM resides in a \".S\" file and there is no C inline asm. \nExploring how and where input/output parameters and data structures are loaded. \nThe test fixture is the C-\u003eASM external call definition:\n````\nuint8_t asmtest( uint8_t inputone, uint8_t * outputtwo );\n````\n\n## Output\n\u003eCalling the ASM C header with values\n\u003e\tIn1: 0x00000011 \tIn2: 0x00000022 \tOut: 0000000000\n\u003e\n\u003eCall Complete.\n\u003e\tIn1: 0000000000 \tIn2: 0x00000011 \tOut: 0x000000ff\n\n## Findings\n1. Input params are loaded into the registers\n1. inputone i getting clobbered - why? Making it a const in the sketch fixes... but?\n1. Pointers as i/o vectors looks like it's a better way to go than passing the values poss?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnosf%2Fxtensaasmpoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnosf%2Fxtensaasmpoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnosf%2Fxtensaasmpoc/lists"}