Either setup code 0877 or 1877 should work. However, you do need to make sure that the Cable Setup Code Lock feature is disabled. Otherwise the remote will refuse to change the setup code.
After entering a setup code, the remote should blink twice to indicate that it recognized and changed the setup code. If it blinks once, that means failure.
Disable the Setup code lock using the 982 Command