Skip to content

Instantly share code, notes, and snippets.

View jvstech's full-sized avatar

jvstech

View GitHub Profile
{
"version": 4,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "default",
/* 32-bit x86 ONLY -- i386-pc-windows-msvc */
/* MUST be compiled with Clang or 32-bit VC++ to support the
included inline assembly syntax. */
#include <stdint.h>
#include <stdio.h>
uint16_t get_control_word(uint32_t* fpe)
{
return fpe[0] & 0xffff;