gbdev / gbdev/rgbds

Add more compound assignment operators for consistency

Open
#2,067 0 comments 0 reactions 0 assignees View on GitHub
enhancement rgbasm
Dominant language
C++
Stars
1.6k
Forks
193
Avg merge
1d 33m
Merged PRs (30d)
23

Description

We have compound assignment operators for most of our numeric operators: `+` has `+=`, `*` has `*=`, `>>` has `>>=`, etc. However, there are still some more we could add:

- [ ] `**=` for `**` (exponentiation)
- [ ] `>>>=` for `>>>` (unsigned right shift)

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing implementations and tests for compound assignment operators such as +=, *=, and >>=. Add coverage for **= and >>>=, then verify that both operators assemble and behave consistently with the existing compound assignments.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.