Skip to content

Instantly share code, notes, and snippets.

@simias
Created May 15, 2015 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simias/c820a81d4786002065c3 to your computer and use it in GitHub Desktop.
Save simias/c820a81d4786002065c3 to your computer and use it in GitHub Desktop.
asm!("j 0xa0\n\t\
nop"
:
: "{a0}"(c)
:
: );
// Gives: rustc: [...]/MipsISelLowering.cpp:3309: std::pair<unsigned int, const llvm::TargetRegisterClass*> llvm::MipsTargetLowering::parseRegForInlineAsmConstraint(llvm::StringRef, llvm::MVT) const:
// Assertion `Prefix == "$"' failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment