riscv-non-isa / riscv-asm-manual

RISC-V Assembly Programmer's Manual
https://jira.riscv.org/browse/RVG-4
Creative Commons Attribution 4.0 International
1.44k stars 238 forks source link

what is .option {rvc,norvc,pic,nopic,push,pop} RISC-V options? #19

Closed XiaPZ closed 5 years ago

XiaPZ commented 5 years ago

I have a question about a line in riscv-asm-manual, what does .option | {rvc,norvc,pic,nopic,push,pop} | RISC-V options mean? and any documents about rvc, norvc, pic, nopic, push, pop?

jim-wilson commented 5 years ago

There is some documentation in the GNU as manual https://sourceware.org/binutils/docs-2.31/as/RISC_002dV_002dDirectives.html#RISC_002dV_002dDirectives

It probably should be mentioned in this manual also.

XiaPZ commented 5 years ago

@jim-wilson thanks a lot!