scall

RISC-V scall Legacy Name Details

Legacy compatibility name

RISC-V scall is the previous name of ECALL; the specification says they have the same functionality and encoding, and ECALL is used to make a service request to the execution environment.

What You Write
scall
Current Instruction Name
ECALL

Which Instruction This Legacy Name Identifies

The Unprivileged ISA says scall was the previous name of ECALL; the rename reflects use in more general contexts.

RISC-V scall is the previous name of ECALL; the specification says they have the same functionality and encoding, and ECALL is used to make a service request to the execution environment.

Official Semantics Checklist

scall is the previous name of ECALL.
scall and ECALL have the same functionality and encoding.
ECALL and EBREAK are the current instruction names in this section.

How To Read The Expansion

Step 1
scall and ECALL have the same functionality and encoding.

Official References And Reading Order

This page treats the name as a previous name of ECALL or EBREAK; Section 2.8 gives the old name, the identical functionality and encoding, and the current instruction's execution-environment purpose.

When To Think Of It First

Recognize the scall name in older source.

Pitfalls / Common Confusions

scall is a previous name of ECALL; this page does not classify it as a generic pseudo-instruction.

FAQ

Is scall a generic assembler pseudo-instruction?

No. Section 2.8 identifies scall as the previous name of ECALL.