repo_id string | size int64 | file_path string | content string |
|---|---|---|---|
LucaWilliams4831/vSdk | 28,453 | crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/src/asm/field_10x26_arm.s | @ vim: set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab syntax=armasm:
/**********************************************************************
* Copyright (c) 2014 Wladimir J. van der Laan *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www... |
luliyucoordinate/myos | 2,143 | src/hardwarecommunication/interruptstubs.s | .set IRQ_BASE, 0x20
.section .text
.extern __ZN4myos21hardwarecommunication16InterruptManager15HandleInterruptEhj
.macro HandleInterruptRequest num
.global __ZN4myos21hardwarecommunication16InterruptManager26HandleInterruptRequest\num\()Ev
__ZN4myos21hardwarecommunication16InterruptManager26HandleInterruptRequest\num\... |
lvgl/lv_port_riverdi_101-stm32h7 | 29,796 | STM32CubeIDE/CM7/Application/User/Startup/startup_stm32h747xihx.s | /**
******************************************************************************
* @file startup_stm32h747xx.s
* @author MCD Application Team
* @brief STM32H747xx Devices vector table for GCC based toolchain.
* This module performs:
* - Set the initial SP
* ... |
lvgl/lv_port_riverdi_101-stm32h7 | 29,795 | STM32CubeIDE/CM4/Application/User/Startup/startup_stm32h747xihx.s | /**
******************************************************************************
* @file startup_stm32h747xx.s
* @author MCD Application Team
* @brief STM32H747xx Devices vector table for GCC based toolchain.
* This module performs:
* - Set the initial SP
* ... |
LvNA-system/labeled-RISC-V | 2,989 | scripts/debug_rom/debug_rom.S | // See LICENSE.SiFive for license details.
#include "spike/encoding.h"
// These are implementation-specific addresses in the Debug Module
#define HALTED 0x100
#define GOING 0x104
#define RESUMING 0x108
#define EXCEPTION 0x10C
// Region of memory where each hart has 1
// byte to read.
#define FLAGS 0x400
#def... |
lvonasek/3DLiveScanner | 140,637 | third_party/libjpeg-turbo/src/simd/jsimd_mips_dspr2.S | /*
* MIPS DSPr2 optimizations for libjpeg-turbo
*
* Copyright (C) 2013-2014, MIPS Technologies, Inc., California.
* All rights reserved.
* Authors: Teodora Novkovic (teodora.novkovic@imgtec.com)
* Darko Laus (darko.laus@imgtec.com)
* This software is provided 'as-is', without any express or impl... |
lvonasek/3DLiveScanner | 79,762 | third_party/libjpeg-turbo/src/simd/jsimd_arm64_neon.S | /*
* ARMv8 NEON optimizations for libjpeg-turbo
*
* Copyright (C) 2009-2011 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* Author: Siarhei Siamashka <siarhei.siamashka@nokia.com>
* Copyright (C) 2013-2014, Linaro Limited
* Author: Ragesh Radhakrishnan <ragesh.r@linaro.org>
* Copyright (... |
lvonasek/3DLiveScanner | 87,641 | third_party/libjpeg-turbo/src/simd/jsimd_arm_neon.S | /*
* ARMv7 NEON optimizations for libjpeg-turbo
*
* Copyright (C) 2009-2011 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* Author: Siarhei Siamashka <siarhei.siamashka@nokia.com>
* Copyright (C) 2014 Siarhei Siamashka. All Rights Reserved.
* Copyright (C) 2014 Linaro Limited. All Right... |
lvonasek/3DLiveScanner | 8,153 | third_party/libpng/arm/filter_neon.S |
/* filter_neon.S - NEON optimised filter functions
*
* Copyright (c) 2013 Glenn Randers-Pehrson
* Written by Mans Rullgard, 2011.
* Last changed in libpng 1.6.8 [December 19, 2013]
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
* and license in ... |
M2IHP13-admin/JonesForth-arm | 34,625 | jonesforth.S | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
@ Jones' Forth port for ARM EABI
@ Copyright (C) 2013 M2IHP'13 class, see AUTHORS for the full list of
@ contributors.
@
@ Original x86 and forth code: Richard W.M. Jones <rich@annexia.org>
@
@ The extensive comments from Jones' x86 versi... |
maharmstone/ntfs2btrfs | 3,557 | src/crc32c-gas.S | /* Copyright (c) Mark Harmstone 2020
*
* This file is part of WinBtrfs.
*
* WinBtrfs is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Licence as published by
* the Free Software Foundation, either version 3 of the Licence, or
* (at your option) any lat... |
mangpo/greenthumb | 1,045 | arm/programs/p17_p21_o0.s | str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
ldr r2, [fp, #-24]
ldr r3, [fp, #-36]
cmp r2, r3
movne r3, #0
moveq r3, #1
rsb r3, r3, #0
str r3, [fp, #-20]
ldr r2, [fp, #-28]
ldr r3, [fp, #-36]
eor r3, r2, r3
str r3, [fp, #-16]
ldr r2, [fp, #-24]
ldr r3, [fp, #-28]
cmp r2,... |
mangpo/greenthumb | 1,731 | arm/programs/p14_p15_p17_p21_o0.s | str r4, [fp, #-16]
str r5, [fp, #-20]
ldr r12, [fp, #-16]
ldr r13, [fp, #-20]
and r13, r12, r13
str r13, [fp, #-12]
ldr r12, [fp, #-16]
ldr r13, [fp, #-20]
eor r13, r12, r13
str r13, [fp, #-8]
ldr r13, [fp, #-8]
mov r13, r13, asr #1
str r13, [fp, #-8]
ldr r12, [fp, #-12]
ldr r13, [fp, #-8]
add r13, r12,... |
mariopartyrd/marioparty4 | 37,866 | src/TRK_MINNOW_DOLPHIN/__exception.s | .include "macros.inc"
.file "__exception.s"
# 0x80003534..0x80005468 | size: 0x1F34
.section .init, "ax"
.balign 4
# .init:0x0 | 0x80003534 | size: 0x0
.sym gTRKInterruptVectorTable, global
# .init:0x0 | 0x80003534 | size: 0x1F34
.fn pad_00_80003534_init, local
.4byte 0x4D657472
xoris r23, r27, 0x6572
xori r19, r27,... |
marler8997/reloader | 1,324 | c/sys/arch/x86_64/start.s | .global _start
.text
# STACK (Low to High)
# ------------------------------
# RSP --> | argc |
# argv --> | argv[0] |
# | argv[1] |
# | ... |
# | argv[argc] (NULL) |
# envp --> | envp[0] |
# | envp[1] ... |
marler8997/ziglibc | 1,123 | src/linux/jmp.s | /* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */
/* NOTE: this was copied from musl */
.global __setjmp
.global _setjmp
.global setjmp
.type __setjmp,@function
.type _setjmp,@function
.type setjmp,@function
__setjmp:
_setjmp:
setjmp:
mov %rbx,(%rdi) /* rdi is jmp_buf, move regist... |
marqs85/ossc_pro | 2,325 | software/sys_controller/crt0.boot.S | // Copyright 2017 ETH Zurich and University of Bologna.
// Copyright and related rights are licensed under the Solderpad Hardware
// License, Version 0.51 (the “License”); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://solderpad.org/licenses/SHL-0.... |
marqs85/ossc_pro | 2,117 | software/sys_controller/crt0.boot_E.S | // Copyright 2017 ETH Zurich and University of Bologna.
// Copyright and related rights are licensed under the Solderpad Hardware
// License, Version 0.51 (the “License”); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://solderpad.org/licenses/SHL-0.... |
marqs85/ossc_pro | 4,009 | software/sys_controller_bsp/HAL/src/alt_exception_trap.S | /******************************************************************************
* *
* License Agreement *
* *
... |
marqs85/ossc_pro | 1,919 | software/sys_controller_bsp/HAL/src/alt_log_macro.S | /* alt_log_macro.S
*
* Implements the function tx_log_str, called by the assembly macro
* ALT_LOG_PUTS(). The macro will be empty when logging is turned off,
* and this function will not be compiled. When logging is on,
* this function is used to print out the strings defined in the beginning
* of alt_lo... |
marqs85/ossc_pro | 8,293 | software/sys_controller_bsp/HAL/src/alt_mcount.S | /******************************************************************************
* *
* License Agreement *
* *
... |
marqs85/ossc_pro | 16,181 | software/sys_controller_bsp/HAL/src/alt_exception_entry.S | /******************************************************************************
* *
* License Agreement *
* *
... |
marqs85/ossc_pro | 21,315 | software/sys_controller_bsp/HAL/src/alt_exception_muldiv.S | /******************************************************************************
* *
* License Agreement *
* *
... |
marqs85/ossc_pro | 16,585 | software/sys_controller_bsp/HAL/src/crt0.S | /******************************************************************************
* *
* License Agreement *
* *
... |
marqs85/ossc_pro | 2,989 | software/sys_controller_bsp/HAL/src/alt_software_exception.S | /******************************************************************************
* *
* License Agreement *
* *
... |
marqs85/ossc_pro | 5,245 | software/sys_controller_bsp/HAL/src/alt_ecc_fatal_entry.S | /******************************************************************************
* *
* License Agreement *
* *
... |
marqs85/ossc_pro | 4,685 | software/sys_controller_bsp/HAL/src/alt_irq_entry.S | /******************************************************************************
* *
* License Agreement *
* *
... |
Maschell/saviine | 3,168 | src/kernel/kernel_hooks.S | # This stuff may need a change in different kernel versions
# This is only needed when launched directly through browser and not SD card.
.section ".kernel_code"
.globl SaveAndResetDataBATs_And_SRs_hook
SaveAndResetDataBATs_And_SRs_hook:
# setup CTR to the position we need to return to
mflr r5
mtctr r5... |
masahi/torchscript-to-tvm | 1,558,504 | detr/rocm_fp16_asm.s | .text
.amdgcn_target "amdgcn-amd-amdhsa-hcc-gfx1032"
.globl tvmgen_default_fused_add_reshape_cast_1_kernel0
.p2align 8
.type tvmgen_default_fused_add_reshape_cast_1_kernel0,@function
tvmgen_default_fused_add_reshape_cast_1_kernel0:
v_lshlrev_b32_e32 v0, 1, v0
s_clause 0x1
s_load_dwordx2 s[0:1], s[4:5], 0x10
s_... |
matgla/tinycc | 18,280 | lib/atomic.S | /* ---------------------------------------------- */
/* This file implements for arm/arm64/riscv:
* __atomic_compare_exchange_1
* __atomic_compare_exchange_2
* __atomic_compare_exchange_4
* __atomic_compare_exchange_8
*/
#ifdef __leading_underscore
# define _(s) _##s
#else
# define _(s) s
#endif
#if defined __i3... |
matgla/tinycc | 1,767 | lib/alloca-bt.S | /* ---------------------------------------------- */
/* alloca-bt.S */
#ifdef __leading_underscore
# define _(s) _##s
#else
# define _(s) s
#endif
/* ---------------------------------------------- */
#if defined __i386__
.globl _(__bound_alloca)
_(__bound_alloca):
pop %edx
pop %eax
mov %eax, ... |
matgla/tinycc | 1,445 | lib/alloca.S | /* ---------------------------------------------- */
/* alloca.S */
#ifdef __leading_underscore
# define _(s) _##s
#else
# define _(s) s
#endif
/* ---------------------------------------------- */
#if defined __i386__
.globl _(alloca), _(__alloca)
_(alloca):
_(__alloca):
push %ebp
mov %esp,%ebp
mo... |
matgla/tinycc | 15,864 | tests/asmtest.S | # gas comment with ``gnu'' style quotes
/* some directive tests */
.byte 0xff
.byte 1, 2, 3
.short 1, 2, 3
.word 1, 2, 3
.long 1, 2, 3
.int 1, 2, 3
.align 8
.byte 1
/* .align 16, 0x90 gas is too clever for us with 0x90 fill */
.balign 4, 0x92
.align 16, 0x91 /* 0x91 tests the non-clever ... |
matgla/tinycc | 1,720 | win32/lib/chkstk.S | /* ---------------------------------------------- */
/* chkstk86.s */
#ifdef __leading_underscore
# define _(s) _##s
#else
# define _(s) s
#endif
/* ---------------------------------------------- */
#ifndef __x86_64__
/* ---------------------------------------------- */
.globl _(__chkstk)
_(__chkstk):
xchg (%... |
matgla/tinycc | 1,185 | tests/thumb/armv8m/test_add_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_add_reg
test_add_reg:
// T1
adds r2, r2, r2
adds r1, r2, r3
adds r1, r4
itte eq
addeq r3, r2, r1
addeq r3, r2, r1
addne r1, r2, r3
// T2
add r8, r9
itte eq
addeq r1, r9
addeq r3, r3, r1
addne r9, r8
... |
matgla/tinycc | 1,049 | tests/thumb/armv8m/test_str_imm.S | .syntax unified
.thumb
.global _start
_start:
.global test_str
test_str:
str r1, [r0, #16]
str r2, [r0, #15]
str r3, [r5, #10]
str r2, [r1, #12]
str r2, [r3]
ittee eq
streq r1, [r0, #110]
streq r2, [r0, #15]
strne r3, [r5, #10]
strne r2, [r1, #12]
str r1, [sp]
str r2,... |
matgla/tinycc | 1,124 | tests/thumb/armv8m/test_bic_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_bic_reg
test_bic_reg:
// T1
bics.n r2, r2, r5
itte eq
biceq r1, r1, r2
biceq r3, r5
bicne r5, r5, r1
bic r1, r1, r4
// T2
bic r1, r2, r3, rrx
bic r10, r11, r12, rrx
itte eq
biceq r10, r11, r12
biceq ... |
matgla/tinycc | 1,201 | tests/thumb/armv8m/test_ldmdb.S | .syntax unified
.thumb
.global _start
_start:
.global test_ldmdb
test_ldmdb:
ldmdb r0!, {r1-r4, r5}
ldmdb r1!, {r2, r3}
ldmdb r3, {r1, r10}
ldmdb r9!, {r2-r3, r8}
ldmdb r9!, {r2-r3, r8, pc}
ittee eq
ldmdbeq r0!, {r1-r4, r5}
ldmdbeq r1!, {r2, r10}
ldmdbne r3, {r1, r2}
ldmdbne ... |
matgla/tinycc | 1,101 | tests/thumb/armv8m/test_rsb_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_rsb_reg
test_rsb_reg:
// T1
rsbs r2, r2, r5
itte eq
rsbeq r1, r1, r2
rsbeq r3, r5
rsbne r5, r5, r1
rsb r1, r1, r4
// T2
rsb r1, r2, r3, rrx
rsb r10, r11, r12, rrx
itte eq
rsbeq r10, r11, r12
rsbeq r10, r12
... |
matgla/tinycc | 1,157 | tests/thumb/armv8m/test_ldrsh_imm.S | .syntax unified
.thumb
.global _start
_start:
.global test_ldrsh
test_ldrsh:
ldrsh r1, [r0, #16]
ldrsh r2, [r0, #15]
ldrsh r3, [r5, #10]
ldrsh r2, [r1, #12]
ldrsh r2, [r3]
ittee eq
ldrsheq r1, [r0, #110]
ldrsheq r2, [r0, #15]
ldrshne r3, [r5, #10]
ldrshne r2, [r1, #12]
l... |
matgla/tinycc | 1,114 | tests/thumb/armv8m/test_ldrh_imm.S | .syntax unified
.thumb
.global _start
_start:
.global test_ldrh
test_ldrh:
ldrh r1, [r0, #16]
ldrh r2, [r0, #15]
ldrh r3, [r5, #10]
ldrh r2, [r1, #12]
ldrh r2, [r3]
ittee eq
ldrheq r1, [r0, #110]
ldrheq r2, [r0, #15]
ldrhne r3, [r5, #10]
ldrhne r2, [r1, #12]
ldrh r1, [sp... |
matgla/tinycc | 1,101 | tests/thumb/armv8m/test_orn_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_orn_reg
test_orn_reg:
// T1
orns r2, r2, r5
itte eq
orneq r1, r1, r2
orneq r3, r5
ornne r5, r5, r1
orn r1, r1, r4
// T2
orn r1, r2, r3, rrx
orn r10, r11, r12, rrx
itte eq
orneq r10, r11, r12
orneq r10, r12
... |
matgla/tinycc | 1,157 | tests/thumb/armv8m/test_ldrsb_imm.S | .syntax unified
.thumb
.global _start
_start:
.global test_ldrsb
test_ldrsb:
ldrsb r1, [r0, #16]
ldrsb r2, [r0, #15]
ldrsb r3, [r5, #10]
ldrsb r2, [r1, #12]
ldrsb r2, [r3]
ittee eq
ldrsbeq r1, [r0, #110]
ldrsbeq r2, [r0, #15]
ldrsbne r3, [r5, #10]
ldrsbne r2, [r1, #12]
l... |
matgla/tinycc | 1,124 | tests/thumb/armv8m/test_eor_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_eor_reg
test_eor_reg:
// T1
eors.n r2, r2, r5
itte eq
eoreq r1, r1, r2
eoreq r3, r5
eorne r5, r5, r1
eor r1, r1, r4
// T2
eor r1, r2, r3, rrx
eor r10, r11, r12, rrx
itte eq
eoreq r10, r11, r12
eoreq ... |
matgla/tinycc | 1,092 | tests/thumb/armv8m/test_strb_imm.S | .syntax unified
.thumb
.global _start
_start:
.global test_strb
test_strb:
strb r1, [r0, #16]
strb r2, [r0, #15]
strb r3, [r5, #10]
strb r2, [r1, #12]
strb r2, [r3]
ittee eq
strbeq r1, [r0, #110]
strbeq r2, [r0, #15]
strbne r3, [r5, #10]
strbne r2, [r1, #12]
strb r1, [sp]... |
matgla/tinycc | 1,092 | tests/thumb/armv8m/test_strh_imm.S | .syntax unified
.thumb
.global _start
_start:
.global test_strh
test_strh:
strh r1, [r0, #16]
strh r2, [r0, #15]
strh r3, [r5, #10]
strh r2, [r1, #12]
strh r2, [r3]
ittee eq
strheq r1, [r0, #110]
strheq r2, [r0, #15]
strhne r3, [r5, #10]
strhne r2, [r1, #12]
strh r1, [sp]... |
matgla/tinycc | 1,101 | tests/thumb/armv8m/test_orr_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_orr_reg
test_orr_reg:
// T1
orrs r2, r2, r5
itte eq
orreq r1, r1, r2
orreq r3, r5
orrne r5, r5, r1
orr r1, r1, r4
// T2
orr r1, r2, r3, rrx
orr r10, r11, r12, rrx
itte eq
orreq r10, r11, r12
orreq r10, r12
... |
matgla/tinycc | 1,157 | tests/thumb/armv8m/test_sub_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_sub_reg
test_sub_reg:
// T1
subs r2, r2, r2
subs r1, r2, r3
subs r1, r4
itte eq
subeq r3, r2, r1
subeq r3, r2, r1
subne r1, r2, r3
// T2
sub r8, r9
itte eq
subeq r1, r9
subeq r3, r3, r1
subne r9, r8
sub r1, r2,... |
matgla/tinycc | 1,124 | tests/thumb/armv8m/test_and_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_and_reg
test_and_reg:
// T1
ands.n r2, r2, r5
itte eq
andeq r1, r1, r2
andeq r3, r5
andne r5, r5, r1
and r1, r1, r4
// T2
and r1, r2, r3, rrx
and r10, r11, r12, rrx
itte eq
andeq r10, r11, r12
andeq ... |
matgla/tinycc | 2,469 | tests/thumb/armv8m/test_b.S | .syntax unified
.thumb
.global _start
_start:
.asciz "Helloasfh9ueawh9fhe9wahf79wah9efh9wahe97fh9w7ehf79haf"
.asciz "Helloasfh9ueawh9fhe9wahf79wah9efh9wahe97fh9w7ehf79haf"
.global jump_target
jump_target:
movs r0, #0
cmp r1, #1
.asciz "Helloasfh9ueawh9fhe9wahf79wah9efh9wahe97fh9w7ehf79haf"
.asciz "Helloasf... |
matgla/tinycc | 1,114 | tests/thumb/armv8m/test_ldrb_imm.S | .syntax unified
.thumb
.global _start
_start:
.global test_ldrb
test_ldrb:
ldrb r1, [r0, #16]
ldrb r2, [r0, #15]
ldrb r3, [r5, #10]
ldrb r2, [r1, #12]
ldrb r2, [r3]
ittee eq
ldrbeq r1, [r0, #110]
ldrbeq r2, [r0, #15]
ldrbne r3, [r5, #10]
ldrbne r2, [r1, #12]
ldrb r1, [sp... |
matgla/tinycc | 1,124 | tests/thumb/armv8m/test_adc_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_adc_reg
test_adc_reg:
// T1
adcs.n r2, r2, r5
itte eq
adceq r1, r1, r2
adceq r3, r5
adcne r5, r5, r1
adc r1, r1, r4
// T2
adc r1, r2, r3, rrx
adc r10, r11, r12, rrx
itte eq
adceq r10, r11, r12
adceq ... |
matgla/tinycc | 1,103 | tests/thumb/armv8m/test_sbc_reg.S | .syntax unified
.thumb
.global _start
_start:
.global test_sbc_reg
test_sbc_reg:
// T1
sbcs.n r2, r2, r5
itte eq
sbceq r1, r1, r2
sbceq r3, r5
sbcne r5, r5, r1
sbc r1, r1, r4
// T2
sbc r1, r2, r3, rrx
sbc r10, r11, r12, rrx
itte eq
sbceq r10, r11, r12
sbceq r10, r1... |
matgla/tinycc | 1,504 | tests/thumb/armv8m/test_mov_imm.S | .syntax unified
.thumb
.global _start
_start:
.global test_mov_imm
test_mov_imm:
// T1: movs Rd, #imm8 (16-bit)
// Only low registers (r0-r7)
movs r0, #1
movs r7, #255
movs.w r2, #1
movs.n r1, #2
// T3: mov Rd, #imm16 (32-bit, MOVW)
// Any register (r0-r15)
movw r8, #0x1234
mov r9, #1
mov r0, #0xfff
mov r1, #10
cm... |
matgla/tinycc | 1,071 | tests/thumb/armv8m/test_ldr_imm.S | .syntax unified
.thumb
.global _start
_start:
.global test_ldr
test_ldr:
ldr r1, [r0, #16]
ldr r2, [r0, #15]
ldr r3, [r5, #10]
ldr r2, [r1, #12]
ldr r2, [r3]
ittee eq
ldreq r1, [r0, #110]
ldreq r2, [r0, #15]
ldrne r3, [r5, #10]
ldrne r2, [r1, #12]
ldr r1, [sp]
ldr r2... |
MaxLastBreath/TOTK-DFPS | 2,446 | source/lib/init/crt0.s | .section ".text.crt0","ax"
.macro FROM_MOD0 register_num, offset
ldr w\register_num, [x24, #\offset]
sxtw x\register_num, w\register_num
add x\register_num, x\register_num, x24
.endm
.macro FUNC_RELATIVE_ASLR name, register_num, symbol
.word \symbol - .
\name:
ldr w\register_num, [x30]
sxtw x\regi... |
MaxLastBreath/TOTK-DFPS | 1,303 | source/lib/nx/arm/cache.s | .macro CODE_BEGIN name
.section .text.\name, "ax", %progbits
.global \name
.hidden \name
.type \name, %function
.align 2
.cfi_startproc
\name:
.endm
.macro CODE_END
.cfi_endproc
.endm
CODE_BEGIN armDCacheFlush
add x1, x1, x0
mrs x8, CTR_EL0
lsr x8, x8, #16
and x8, x8, #0xf
mov x9, #4
lsl x9, x9, x8
sub ... |
MaxLastBreath/TOTK-DFPS | 8,193 | source/lib/nx/kernel/svc.s | .macro SVC_BEGIN name
.section .text.\name, "ax", %progbits
.global \name
.type \name, %function
.hidden \name
.align 2
.cfi_startproc
\name:
.endm
.macro SVC_END
.cfi_endproc
.endm
SVC_BEGIN svcSetHeapSize
str x0, [sp, #-16]!
svc 0x1
ldr x2, [sp], #16
str x1, [x2]
ret
SVC_END
SVC_BEGIN svcSetMemoryPermi... |
MaxLastBreath/TOTK-DFPS | 1,192 | source/lib/reloc/rtld/dl_trampoline.s | .section ".text", "ax"
#define ip0 x16
#define ip1 x17
.global __rtld_runtime_resolve
.type __rtld_runtime_resolve, @function
__rtld_runtime_resolve:
/* AArch64 we get called with:
ip0 (x16) &PLTGOT[2]
ip1 (x17) temp(dl resolver entry point)
[sp, #0] &PLTGOT[n]
What we ne... |
MaxLastBreath/TOTK-DFPS | 1,869 | source/lib/hook/nx64/inline_asm.s | .macro CODE_BEGIN name
.section .text.\name, "ax", %progbits
.global \name
.type \name, %function
.align 2
.cfi_startproc
\name:
.endm
.macro CODE_END
.cfi_endproc
.endm
/* Size of stack to reserve for the context. Adjust this along with CtxStackSize in inline_impl.cpp */
.set CTX_STACK_SIZE, 0x100
/* For thes... |
Mbwide/MQTT_ONENET_ESP8266_STM32_FREERTOS | 15,145 | CORE/startup_stm32f10x_hd.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_hd.s
;* Author : MCD Application Team
;* Version : V3.5.0
;* Date : 11-March-2011
;* Description : STM32F10x High Density Devices vector table for MDK-AR... |
Mbwide/MQTT_ONENET_ESP8266_STM32_FREERTOS | 5,593 | FreeRTOS/portable/RVDS/ARM7_LPC21xx/portASM.s | ;/*
; FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
; All rights reserved
;
;
; ***************************************************************************
; * *
; * FreeRTOS tutorial books are available in pdf an... |
Mbwide/MQTT_ONENET_ESP8266_STM32_FREERTOS | 6,530 | FreeRTOS/portable/RVDS/ARM_CA9/portASM.s | ;/*
; FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
; All rights reserved
;
;
; ***************************************************************************
; * *
; * FreeRTOS tutorial books are available in pdf and... |
mck1117/wideband | 11,157 | firmware/boards/f1_rev3/openblt/startup_stm32f103xb.s | /**
*************** (C) COPYRIGHT 2017 STMicroelectronics ************************
* @file startup_stm32f103xb.s
* @author MCD Application Team
* @version V4.2.0
* @date 31-March-2017
* @brief STM32F103xB Devices vector table for Atollic toolchain.
* This module performs:
*... |
mck1117/wideband | 11,157 | firmware/boards/f1_common/openblt/startup_stm32f103xb.s | /**
*************** (C) COPYRIGHT 2017 STMicroelectronics ************************
* @file startup_stm32f103xb.s
* @author MCD Application Team
* @version V4.2.0
* @date 31-March-2017
* @brief STM32F103xB Devices vector table for Atollic toolchain.
* This module performs:
*... |
mck1117/wideband | 11,157 | firmware/boards/f1_dual_rev1/openblt/startup_stm32f103xb.s | /**
*************** (C) COPYRIGHT 2017 STMicroelectronics ************************
* @file startup_stm32f103xb.s
* @author MCD Application Team
* @version V4.2.0
* @date 31-March-2017
* @brief STM32F103xB Devices vector table for Atollic toolchain.
* This module performs:
*... |
Mdashdotdashn/LittleGPTracker | 1,883 | sources/Adapters/DINGOO/System/gpmemset.s | /* Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Philip Blundell <philb@gnu.org>
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softw... |
Mdashdotdashn/LittleGPTracker | 12,207 | sources/Adapters/DINGOO/System/gpmemcpy.s | /* $NetBSD: gpmemcpy.S,v 1.3 1997/11/22 03:27:12 mark Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Neil A. Carson and Mark Brinicombe
*
* Redistribution and use in source and binary forms, with or w... |
Mdashdotdashn/LittleGPTracker | 1,883 | sources/Adapters/CAANOO/System/gpmemset.s | /* Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Philip Blundell <philb@gnu.org>
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softw... |
Mdashdotdashn/LittleGPTracker | 12,207 | sources/Adapters/CAANOO/System/gpmemcpy.s | /* $NetBSD: gpmemcpy.S,v 1.3 1997/11/22 03:27:12 mark Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Neil A. Carson and Mark Brinicombe
*
* Redistribution and use in source and binary forms, with or w... |
Mdashdotdashn/LittleGPTracker | 1,883 | sources/Adapters/GP2X/System/gpmemset.s | /* Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Philip Blundell <philb@gnu.org>
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softw... |
Mdashdotdashn/LittleGPTracker | 12,207 | sources/Adapters/GP2X/System/gpmemcpy.s | /* $NetBSD: gpmemcpy.S,v 1.3 1997/11/22 03:27:12 mark Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Neil A. Carson and Mark Brinicombe
*
* Redistribution and use in source and binary forms, with or w... |
MediaTek-Labs/linkit-smart-7688-uboot | 19,812 | stage1/start.S | /*
* Startup Code for MIPS32 CPU-core
*
* Copyright (c) 2003 Wolfgang Denk <wd@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by... |
MediaTek-Labs/linkit-smart-7688-uboot | 71,829 | cpu/ralink_soc/start.S | /*
* Startup Code for MIPS32 CPU-core
*
* Copyright (c) 2003 Wolfgang Denk <wd@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by... |
MediaTek-Labs/linkit-smart-7688-uboot | 6,388 | cpu/ralink_soc/cache.S | /*
* Cache-handling routined for MIPS 4K CPUs
*
* Copyright (c) 2003 Wolfgang Denk <wd@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* publ... |
MediaTek-Labs/linkit-smart-7688-uboot | 61,513 | cpu/ralink_soc/start_1004k.S | #include <config.h>
#include <asm/regdef.h>
#include <asm/mipsregs.h>
#include <rt_mmap.h>
#include <sysdefs.h>
#include <ArchDefs.h>
#include <launch.h>
#define CODE_ALIGN .align 2
#define LEAF(name)\
.##text;\
.##globl name;\
.##ent name;\
name:
#define END(name)\
.##size name,.-name;\
... |
MediaTek-Labs/linkit-smart-7688-uboot | 5,948 | board/rt2880/memsetup.S | /* FILE_DESC *****************************************************************
//
// Purpose:
// This file contains macros used for memory initialization.
//
// Sp. Notes:
//
// *****************************************************************************/
/*=====================*
* Include Files *
*=======... |
MediaTek-Labs/linkit-smart-7688-uboot | 6,127 | board/rt2880/rt2880_init.S | /*=====================*
* Include Files *
*=====================*/
#include <config.h>
#include <version.h>
#include <asm/regdef.h>
#include "include/sysc.h"
#include "include/product.h"
#include "include/mem_map.h"
#include "include/mac.inc"
#include "include/chip_reg_map.h"
#include "include/cpu.h"
/*====... |
merlinepedra/DarkFlippers-unleashed-firmware | 12,159 | firmware/targets/f7/startup_stm32wb55xx_cm4.s | /**
******************************************************************************
* @file startup_stm32wb55xx_cm4.s
* @author MCD Application Team
* @brief STM32WB55xx devices vector table GCC toolchain.
* This module performs:
* - Set the initial SP
* ... |
metux/xorg-xserver | 1,923 | hw/xfree86/os-support/solaris/solaris-amd64.S | / Copyright (c) 2005, Oracle and/or its affiliates.
/
/ Permission is hereby granted, free of charge, to any person obtaining a
/ copy of this software and associated documentation files (the "Software"),
/ to deal in the Software without restriction, including without limitation
/ the rights to use, copy, modify, mer... |
metux/xorg-xserver | 1,944 | hw/xfree86/os-support/solaris/solaris-ia32.S | / Copyright (c) 2004, Oracle and/or its affiliates.
/
/ Permission is hereby granted, free of charge, to any person obtaining a
/ copy of this software and associated documentation files (the "Software"),
/ to deal in the Software without restriction, including without limitation
/ the rights to use, copy, modify, mer... |
metux/xorg-xserver | 3,102 | hw/xfree86/os-support/solaris/sun_inout.s | / $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sunos/sun_inout.s,v 1.1 2001/05/28 02:42:31 tsi Exp $
/
/ Copyright 1994-2001 The XFree86 Project, Inc. All Rights Reserved.
/
/ Permission is hereby granted, free of charge, to any person obtaining a copy
/ of this software and associated documentation files (the ... |
metux/xorg-xserver | 3,946 | hw/xfree86/os-support/solaris/solaris-sparcv8plus.S | /* Copyright (c) 2004, Oracle and/or its affiliates.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modif... |
MichaelBell/rp1-hacking | 1,098 | oneshot/start.s | .cpu cortex-m3
.thumb
.syntax unified
.section .boot,"ax"
.align 2
.thumb_func
.globl _entry
_entry:
/* Unpatch the hook */
push {r4,r5,r6,r7,lr}
ldr r6, =0x200007c8
ldr r7, =0xf04f281f
str r7, [r6]
/* Setup UART 1 */
ldr r2, =0x40034000 // UART0 SET BASE
movs r1, #0x1b
str r1, [r2, #0x24... |
michalsc/Emu68-tools | 1,846 | VideoCore.card/src/vpu/block_copy.s | #
# Copyright © 2021 Michal Schulz <michal.schulz@gmx.de>
# https://github.com/michalsc
#
# This Source Code Form is subject to the terms of the
# Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed
# with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copy block of m... |
MinGiKYUNG/compiler_class | 3,778 | 2wk/example1/main.S | .file "main.c"
.intel_syntax noprefix
# GNU C23 (Rev8, Built by MSYS2 project) version 15.2.0 (x86_64-w64-mingw32)
# compiled by GNU C version 15.2.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# ... |
miretskiy/simba | 4,585 | internal/ffi/syso_amd64.s | // Code generated by gen_trampolines; DO NOT EDIT.
//go:build amd64
// +build amd64
#include "textflag.h"
// func sum_u8_32_raw() uint32
TEXT ·sum_u8_32_raw(SB), NOSPLIT, $0-20
MOVQ ptr+0(FP), DI
MOVQ n+8(FP), SI
CALL sum_u8_32(SB)
MOVL AX, ret+16(FP)
RET
// func sum_u8_64_raw() uint32
TEXT ·sum_... |
miretskiy/simba | 4,458 | internal/ffi/syso_arm64.s | // Code generated by gen_trampolines; DO NOT EDIT.
//go:build arm64
// +build arm64
#include "textflag.h"
// func sum_u8_32_raw() uint32
TEXT ·sum_u8_32_raw(SB), NOSPLIT, $0-20
MOVD ptr+0(FP), R0
MOVD n+8(FP), R1
CALL sum_u8_32(SB)
MOVW R0, ret+16(FP)
RET
// func sum_u8_64_raw() uint32
TEXT ·sum_... |
Misaka-xiaolan/STM32_USB_Audio_Card | 12,523 | Code/startup_stm32g431xx.s | /**
******************************************************************************
* @file startup_stm32g431xx.s
* @author MCD Application Team
* @brief STM32G431xx devices vector table GCC toolchain.
* This module performs:
* - Set the initial SP
* - S... |
Misaka-xiaolan/STM32_USB_Audio_Card | 19,260 | Code/MDK-ARM/startup_stm32g431xx.s | ;*******************************************************************************
;* @File Name : startup_stm32g431xx.s
;* @Author : MCD Application Team
;* @Brief : Vector table for MDK-ARM toolchain
;*******************************************************************************
;* De... |
missimer/x86-64-kernel-boot | 3,313 | kernel/boot.S | #include "arch/x86_64/gdt.h"
#include "arch/x86_64/mmu.h"
#include "kernel.h"
#include "sizes.h"
#include "multiboot2.h"
#include "arch/x86_64/msr.h"
.SET HEADER_LENGTH, header_end - header_start
.SET CHECKSUM, -(MULTIBOOT2_HEADER_MAGIC + MULTIBOOT_ARCHITECTURE_I386 + HEADER_LENGTH)
.section .multiboot
header_start:
... |
mist64/final_cartridge | 2,645 | bank3/freezer_reset.s | ;*****************************************************************************
; Final Cartridge III reconstructed source code
;
; This file implements the functions of the reset menu of the freezer
;*****************************************************************************
.setcpu "6502x"
.include "../cor... |
mist64/final_cartridge | 10,515 | bank3/desktop_helper2.s | ;*****************************************************************************
; Final Cartridge III reconstructed source code
;
; After the user has reordered the entries in a directory using the desktop,
; this code writes back the directory to disk in the desired order.
;******************************************... |
mist64/final_cartridge | 18,664 | bank3/freezer_backup.s | ;*****************************************************************************
; Final Cartridge III reconstructed source code
;
; This file implements the backup functionality of the freezer
;*****************************************************************************
.setcpu "6502x"
.include "../core/kerna... |
mist64/final_cartridge | 5,972 | bank3/persistent.s | ; --------ø--------------------------------------------------------
; I/O Area ROM
; ----------------------------------------------------------------
; This is a max. 512 byte section that lives at $1E00-$1FFF of
; bank 0 of the ROM, and will also be mapped into the I/O extension
; area at $DE00-$DFFF, so it's always v... |
mist64/final_cartridge | 27,995 | bank3/mysterycode.s | ;****************************
; This code is not fully understood yet
;
; Its purpose seems to be reading and writing the directory.
;****************************
.setcpu "6502x"
.include "../core/kernal.i"
.include "../core/fc3ioreg.i"
.include "persistent.i"
.import store_a_ff_to_ae,fill_loop
.import __d... |
mist64/final_cartridge | 9,806 | bank3/freezer_game.s | ;*****************************************************************************
; Final Cartridge III reconstructed source code
;
; This file implements the functions of the game menu of the freezer
;*****************************************************************************
.setcpu "6502x"
.include "../core... |
mist64/final_cartridge | 77,026 | bank3/freezer_menu.s | ;*****************************************************************************
; Final Cartridge III reconstructed source code
;
; This file contains the NMI interrupt handler for the frezer. The actual
; NMI occurs in bank 0, but the NMI handler is duplicated in both banks and
; the NMI handler in bank 0 quickly c... |
mist64/final_cartridge | 24,985 | bank3/freezer_entry.s | ;*****************************************************************************
; Final Cartridge III reconstructed source code
;
; The NMI interruprs handler that is executed in Ultimax mode, switches
; back to 16K mode and then calls freezer_init in this file. Here the actual
; freezing is done, then the routine t... |
mist64/final_cartridge | 33,539 | bank3/screenshot.s | ;*****************************************************************************
;
; This code has to do with creating screenshots. The code in the segment
; "screenshotcode" is copied to $5000 when a screenshot is printed.
;
; The code in segment "printersettings" prepares the screen shot and then
; jumps to the printer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.