<commit_before>
public class CPUInstructions
{
    public static CPURegisters registers = null;
    public static CPUMemory memory = null;

    public CPUInstructions(int size)
    {
        registers = new CPURegisters();
        memory = new CPUMemory(size);
    }

    public void mov(byte first, byte second)
    {
        // TODO: Needs for program to be loaded from memory (not the case, file is in heaven)
    }

    public void push(byte first)
    {
        registers.reg[1]++;
        memory.stack[registers.reg[1]] = first;
    }

    public void pop(byte first)
    {
        registers.reg[0x02] = memory.stack[registers.reg[1]];
        registers.reg[1]--;
    }

    public void add(byte first, byte second)
    {
        registers.reg[first] += registers.reg[second];
    }

    public void sub(byte first, byte second)
    {
        registers.reg[first] -= registers.reg[second];
    }

    public void place(byte first, byte second)
    {
        registers.reg[first] = second;
    }

    public void print(byte first)
    {
        System.out.println("\nRegister " + first + ": " + registers.reg[first]);
    }

    public void mul(byte first, byte second)
    {<commit_msg>Testing commits and fixed POP instruction<commit_after>
public class CPUInstructions
{
    public static CPURegisters registers = null;
    public static CPUMemory memory = null;

    public CPUInstructions(int size)
    {
        registers = new CPURegisters();
        memory = new CPUMemory(size);
    }

    public void mov(byte first, byte second)
    {
        // TODO: Needs for program to be loaded from memory (not the case, file is in heaven)
    }

    public void push(byte first)
    {
        registers.reg[1]++;
        memory.stack[registers.reg[1]] = first;
    }

    public void pop(byte first)
    {
        registers.reg[0x02] = memory.stack[registers.reg[1] - first];
        registers.reg[1]--;
    }

    public void add(byte first, byte second)
    {
        registers.reg[first] += registers.reg[second];
    }

    public void sub(byte first, byte second)
    {
        registers.reg[first] -= registers.reg[second];
    }

    public void place(byte first, byte second)
    {
        registers.reg[first] = second;
    }

    public void print(byte first)
    {
        System.out.println("\nRegister " + first + ": " + registers.reg[first]);
    }

    public void mul(byte first, byte second)
    {
{'fraction_non_alphanumeric': 0.1103305785123967, 'fraction_numerical': 0.005785123966942148, 'mean_word_length': 2.330123796423659, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6579143', 'n_tokens_mistral': 744, 'n_tokens_neox': 730, 'n_words': 198}