'size' is 2 or 4 respectively. This makes reading/writing hardware registers work as expected in all cases.