blob: 96cd7dc3b474cd8dbb560362bcd0fb3216c92ae6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\Structure\Modules;
use Nsfisis\Waddiwasi\Structure\Instructions\Expr;
abstract readonly class DataMode
{
final public static function Passive(): DataModes\Passive
{
return new DataModes\Passive();
}
final public static function Active(
int $memory,
Expr $offset,
): DataModes\Active {
return new DataModes\Active($memory, $offset);
}
}
|