2014-08-19 15:29:52 +02:00
|
|
|
///------------------------------------------------------------------------------
|
2013-01-25 12:28:06 +01:00
|
|
|
//
|
|
|
|
// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
|
|
|
//
|
2019-04-04 01:03:18 +02:00
|
|
|
// SPDX-License-Identifier: BSD-2-Clause-Patent
|
2013-01-25 12:28:06 +01:00
|
|
|
//
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-12-03 21:28:02 +01:00
|
|
|
INCLUDE AsmMacroExport.inc
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2015-12-03 21:28:02 +01:00
|
|
|
RVCT_ASM_EXPORT __ARM_switch8
|
2013-01-25 12:28:06 +01:00
|
|
|
LDRB r12,[lr,#-1]
|
|
|
|
CMP r3,r12
|
|
|
|
LDRBCC r3,[lr,r3]
|
|
|
|
LDRBCS r3,[lr,r12]
|
|
|
|
ADD r12,lr,r3,LSL #1
|
|
|
|
BX r12
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
END
|