mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-11 10:31:40 +00:00
80 columns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc9c80240b
commit
01208d56e8
@ -27,8 +27,7 @@ using namespace llvm;
|
|||||||
|
|
||||||
/// translateShiftImm - Convert shift immediate from 0-31 to 1-32 for printing.
|
/// translateShiftImm - Convert shift immediate from 0-31 to 1-32 for printing.
|
||||||
///
|
///
|
||||||
/// getSORegOffset returns an integer from 0-31, but '0' should actually be printed
|
/// getSORegOffset returns an integer from 0-31, representing '32' as 0.
|
||||||
/// 32 as the immediate shouldbe within the range 1-32.
|
|
||||||
static unsigned translateShiftImm(unsigned imm) {
|
static unsigned translateShiftImm(unsigned imm) {
|
||||||
if (imm == 0)
|
if (imm == 0)
|
||||||
return 32;
|
return 32;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user