Refactor InstructionBuilder into NewRegisterInstructions experiment

Reduces the amount of boiler plate code.

Bug: 77721545
Test: test-art-host

Change-Id: Ib5baf7768ba5f8e6aa6c8644b5aabbd35e834df5
2 files changed