- 2023-04-27== vs === in js
Equalitycomparisonsandsameness-JavaScript|MDN(mozilla.org)Looseequalityissymmetric:A==BalwayshasidenticalsemanticstoB==AforanyvaluesofAandB(exceptfortheorderofappliedconversions).Thebehaviorforperforminglooseequa
- 2023-02-08x ? : y Conditionals with Omitted Operands
https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Conditionals.html 6.8ConditionalswithOmittedOperandsThemiddleoperandinaconditionalexpress
- 2022-11-20risc-v gcc 编译 atomic 指令时产生 illegal operands 错误的解决办法
错误的写法:amoadd.wa1,a0,a2这是参照OpenRISC-VReferenceCard的格式书写的,这将将产生错误:illegaloperands`amoadd.wa1,a0,a2'正确的写法:amoadd.wa1,a2,(a0)凡
- 2022-08-25Assembler Instructions with C Expression Operands
UsingtheGNUCompilerCollectionForgccversion4.9.3 (GNUToolsforARMEmbeddedProcessors)Inanassemblerinstructionusingasm,youcanspecifytheope