Skip to content

[post] Function calling convention in C, Go, Rust and OS #55

@at15

Description

@at15

Type

  • request post from @at15

Related

Description

While working on the blogos tutorial, I started looking at ABI for function call in different programming languages

The post is expected to cover the following

  • how procedure call is implemented (based on csapp chap3), transfer control, pass parameter etc.
  • dump asm for different programming languages
  • a short intro to asm so you can read the dump
  • return value larger than the rax register (i.e. use stack ...)
  • specific things about writing handlers in OS, e.g. why interrupt handlers are different

Update

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions