# \#lang:asm

**URL:** https://discourse.cmake.org/tag/lang-asm/36.md

[Latest](https://discourse.cmake.org/latest.md) · [Categories](https://discourse.cmake.org/categories.md) · [Tags](https://discourse.cmake.org/tags.md)

---

## [Assembler errors: unrecognized opcode:func\_export / unsupported relocation against r3](https://discourse.cmake.org/t/assembler-errors-unrecognized-opcode-func-export-unsupported-relocation-against-r3/722)

<div class="topic-metadata">

**Author:** [@Mike432](https://discourse.cmake.org/u/Mike432)\
**Replies:** 0\
**Last updated:** [February 27, 2020, 7:45pm UTC](https://discourse.cmake.org/t/assembler-errors-unrecognized-opcode-func-export-unsupported-relocation-against-r3/722 "2020-02-27T19:45:28Z")

</div>

I’m getting CMake assembler errors such as: testing.s:137: Error: unrecognized opcode: ‘func\_export(testing)’ testing.s:146: Error: unrecognized opcode: ‘func\_begin(testing)’ testing.s:217: Error: unrecognized opcode…

---

## [Why can't I call an assembly program from C++? I'm getting errors.](https://discourse.cmake.org/t/why-cant-i-call-an-assembly-program-from-c-im-getting-errors/709)

<div class="topic-metadata">

**Author:** [@Mike432](https://discourse.cmake.org/u/Mike432)\
**Replies:** 1\
**Last updated:** [February 26, 2020, 9:08pm UTC](https://discourse.cmake.org/t/why-cant-i-call-an-assembly-program-from-c-im-getting-errors/709 "2020-02-26T21:08:38Z")

</div>

Can anyone give me a simple C++ program that calls a simple (but practical) assembly program (I don’t pass parameters)? What I’m currently trying to use is below. I definitely have to have the options required to do thi…
