archanox/RGBDS2CIL

View on GitHub
RGBDS2CIL/Lines/ShiftLeftArithmeticLine.cs

Summary

Maintainability
A
45 mins
Test Coverage
namespace RGBDS2CIL
{
    public class ShiftLeftArithmeticLine : CodeLine
    {
        public string RegisterOrByte;

        public ShiftLeftArithmeticLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings)
        {
            RegisterOrByte = codeLine.Code["SLA".Length..].Trim();
        }
    }
}