---
title: "init(rawValue:)"
framework: Hypervisor
role: symbol
role_heading: Initializer
path: "hypervisor/hv_reg_t/init(rawvalue:)"
---

# init(rawValue:)

Creates a new general register instance initialized with the value you provide.

## Declaration

```swift
init(rawValue: UInt32)
```

## Parameters

- `rawValue`: An unsigned 32-bit integer that represents the list of registers.

## See Also

### Initializers

- [init(_:)](hypervisor/hv_reg_t/init(_:).md)
