---
title: "Discussion on \"Why NtSetContextThread destroys volatile registers\" | Hashnode"
description: "Discussion on \"Why NtSetContextThread destroys volatile registers\". How the kernel returns from a syscall"
url: "https://hashnode.com/posts/why-ntsetcontextthread-destroys-volatile-registers/61cda37d7cb96c3f9225da24"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why NtSetContextThread destroys volatile registers](https://www.lodsb.com/why-ntsetcontextthread-destroys-volatile-registers?utm_source=hashnode&utm_medium=feed)

How the kernel returns from a syscall

Dec 30, 2021 · 3 min read · lodsb.com  
Read the article

-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Sam Russell](https://hashnode.com/@samrussell)

@samrussell

  
[View profile](https://hashnode.com/@samrussell)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
