repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
0xffea/MINIX3
4,686
common/lib/libc/arch/powerpc/string/strlen.S
/* $NetBSD: strlen.S,v 1.6 2011/01/15 07:31:12 matt Exp $ */ /*- * Copyright (C) 2001 Martin J. Laubach <mjl@NetBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributi...
0xPolygon/bor
7,684
crypto/blake2b/blake2b_amd64.s
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build amd64,!gccgo,!appengine #include "textflag.h" DATA ·iv0<>+0x00(SB)/8, $0x6a09e667f3bcc908 DATA ·iv0<>+0x08(SB)/8, $0xbb67ae8584caa73b GLOBL ·iv0<>(S...
0xPolygon/bor
23,301
crypto/blake2b/blake2bAVX2_amd64.s
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.7,amd64,!gccgo,!appengine #include "textflag.h" DATA ·AVX2_iv0<>+0x00(SB)/8, $0x6a09e667f3bcc908 DATA ·AVX2_iv0<>+0x08(SB)/8, $0xbb67ae8584caa73...
0xPolygon/bor
28,281
crypto/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 https:/...
0xPolygon/bor
1,870
crypto/bn256/cloudflare/gfp_arm64.s
// +build arm64,!generic #define storeBlock(a0,a1,a2,a3, r) \ MOVD a0, 0+r \ MOVD a1, 8+r \ MOVD a2, 16+r \ MOVD a3, 24+r #define loadBlock(r, a0,a1,a2,a3) \ MOVD 0+r, a0 \ MOVD 8+r, a1 \ MOVD 16+r, a2 \ MOVD 24+r, a3 #define loadModulus(p0,p1,p2,p3) \ MOVD ·p2+0(SB), p0 \ MOVD ·p2+8(SB), p1 \ MOVD ·p...
0xPolygon/bor
2,193
crypto/bn256/cloudflare/gfp_amd64.s
// +build amd64,!generic #define storeBlock(a0,a1,a2,a3, r) \ MOVQ a0, 0+r \ MOVQ a1, 8+r \ MOVQ a2, 16+r \ MOVQ a3, 24+r #define loadBlock(r, a0,a1,a2,a3) \ MOVQ 0+r, a0 \ MOVQ 8+r, a1 \ MOVQ 16+r, a2 \ MOVQ 24+r, a3 #define gfpCarry(a0,a1,a2,a3,a4, b0,b1,b2,b3,b4) \ \ // b = a-p MOVQ a0, b0 \ MOVQ a...
0xsequence/ethkit
7,684
go-ethereum/crypto/blake2b/blake2b_amd64.s
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build amd64,!gccgo,!appengine #include "textflag.h" DATA ·iv0<>+0x00(SB)/8, $0x6a09e667f3bcc908 DATA ·iv0<>+0x08(SB)/8, $0xbb67ae8584caa73b GLOBL ·iv0<>(S...
0xsequence/ethkit
23,301
go-ethereum/crypto/blake2b/blake2bAVX2_amd64.s
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.7,amd64,!gccgo,!appengine #include "textflag.h" DATA ·AVX2_iv0<>+0x00(SB)/8, $0x6a09e667f3bcc908 DATA ·AVX2_iv0<>+0x08(SB)/8, $0xbb67ae8584caa73...
0xsequence/ethkit
28,281
go-ethereum/crypto/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 https:/...
0xsequence/ethkit
1,870
go-ethereum/crypto/bn256/cloudflare/gfp_arm64.s
// +build arm64,!generic #define storeBlock(a0,a1,a2,a3, r) \ MOVD a0, 0+r \ MOVD a1, 8+r \ MOVD a2, 16+r \ MOVD a3, 24+r #define loadBlock(r, a0,a1,a2,a3) \ MOVD 0+r, a0 \ MOVD 8+r, a1 \ MOVD 16+r, a2 \ MOVD 24+r, a3 #define loadModulus(p0,p1,p2,p3) \ MOVD ·p2+0(SB), p0 \ MOVD ·p2+8(SB), p1 \ MOVD ·p...
0xsequence/ethkit
2,193
go-ethereum/crypto/bn256/cloudflare/gfp_amd64.s
// +build amd64,!generic #define storeBlock(a0,a1,a2,a3, r) \ MOVQ a0, 0+r \ MOVQ a1, 8+r \ MOVQ a2, 16+r \ MOVQ a3, 24+r #define loadBlock(r, a0,a1,a2,a3) \ MOVQ 0+r, a0 \ MOVQ 8+r, a1 \ MOVQ 16+r, a2 \ MOVQ 24+r, a3 #define gfpCarry(a0,a1,a2,a3,a4, b0,b1,b2,b3,b4) \ \ // b = a-p MOVQ a0, b0 \ MOVQ a...
10110111/usb2ps2conv
21,625
src/startup_stm32f401xc.s
/** ****************************************************************************** * @file startup_stm32f401xc.s * @author MCD Application Team * @version V2.4.1 * @date 09-October-2015 * @brief STM32F401xCxx Devices vector table for GCC based toolchains. * This module perfo...
100askTeam/xiaozhi-linux
21,041
gui/lvgl/src/draw/sw/blend/helium/lv_blend_helium.S
/** * @file lv_blend_helium.S * */ #ifndef __ASSEMBLY__ #define __ASSEMBLY__ #endif #include "lv_blend_helium.h" #if LV_USE_DRAW_SW_ASM == LV_DRAW_SW_ASM_HELIUM && defined(__ARM_FEATURE_MVE) && __ARM_FEATURE_MVE && LV_USE_NATIVE_HELIUM_ASM .data reciprocal: .byte 0xFF, 0xE2, 0xCC, 0xB9, 0xAA, 0x9C, 0x91, 0x88 ....
100askTeam/xiaozhi-linux
21,316
gui/lvgl/src/draw/sw/blend/neon/lv_blend_neon.S
/** * @file lv_blend_neon.S * */ #ifndef __ASSEMBLY__ #define __ASSEMBLY__ #endif #include "lv_blend_neon.h" #if LV_USE_DRAW_SW_ASM == LV_DRAW_SW_ASM_NEON .text .fpu neon .arch armv7a .syntax unified .altmacro .p2align 2 @ d0 ~ d3 : src B,G,R,A @ d4 ~ d7 : dst B,G,R,A @ q8 : src RGB565 raw @ q9 : dst RGB565 raw...
1105042987/RM_frame
30,852
MDK-ARM/startup_stm32f427xx.s
;******************** (C) COPYRIGHT 2017 STMicroelectronics ******************** ;* File Name : startup_stm32f427xx.s ;* Author : MCD Application Team ;* Description : STM32F427x devices vector table for MDK-ARM toolchain. ;* This module performs: ;* ...
173210/snes9xTYL
9,222
sound_mips.S
.align 4 .globl DecodeBlockAsm .globl DecodeBlockAsm2 .macro SMP12CLIP16 BGT $8, 0xFFFF8000,1111f nop LI $8, 0xFFFF8000 J 1112f nop 1111: BLT $8, 0x7FFF,1112f nop li $8, 0x7FFF 1112: BGT $6, 0xFFFF8000,1121f nop li $6, 0xFFFF8000 J 1122f nop 1121: BLT $6, 0x7FFF,1122f nop li $...
173210/snes9xTYL
1,061
psp/common.s
# REVIEW: should be in the standard includes .macro STUB_START module,d1,d2 .section .rodata.stubmodulename,"a" .word 0 __stub_modulestr_\module: .asciz "\module" .align 2 .section .lib.stub,"wa",@progbits ...
173210/snes9xTYL
6,116
psp/adhoc/stubs.s
# Additional Stubs for sceNet APIs (not yet in the PSPSDK) # NOTE: require tricky user entry patching when loaded from kernel thread .set noreorder .include "psp/adhoc/common.s" STUB_START "sceNet",0x90000,0x00080005 STUB_FUNC 0x39af39a6,sceNetInit STUB_FUNC 0x281928a9,sceNetTerm STUB_FUNC 0x50647...
173210/snes9xTYL
1,061
psp/adhoc/common.s
# REVIEW: should be in the standard includes .macro STUB_START module,d1,d2 .section .rodata.stubmodulename,"a" .word 0 __stub_modulestr_\module: .asciz "\module" .align 2 .section .lib.stub,"wa",@progbits ...
17HXX/BLE5_ST17H66
45,709
ST17H66_SDK_3.0.9/components/libraries/secure/asm_ecdh_p256/P256-cortex-m0-ecdh-keil.s
; P-256 ECDH ; Author: Emil Lenngren ; Licensed under the BSD 2-clause license. ; The 256x256->512 multiplication/square code is based on public domain NaCl by Ana Helena Snchez and Bjrn Haase (https://munacl.cryptojedi.org/curve25519-cortexm0.shtml) ; Note on calling conventions: some of the local functions in this f...
17HXX/BLE5_ST17H66
45,709
ST17H66_SDK_3.0.9/components/ethermind/external/crypto/asm_ecdh_p256/P256-cortex-m0-ecdh-keil.s
; P-256 ECDH ; Author: Emil Lenngren ; Licensed under the BSD 2-clause license. ; The 256x256->512 multiplication/square code is based on public domain NaCl by Ana Helena Snchez and Bjrn Haase (https://munacl.cryptojedi.org/curve25519-cortexm0.shtml) ; Note on calling conventions: some of the local functions in this f...
17HXX/BLE5_ST17H66
8,652
ST17H66_SDK_3.0.9/example/ble_multi/simpleBleMultiConnection/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V5.00 ; * @date 02. March 2016 ; *************************************************************************...
17HXX/BLE5_ST17H66
3,101
ST17H66_SDK_3.0.9/example/ble_peripheral/simpleBlePeripheral/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V5.00 ; * @date 02. March 2016 ; *************************************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/ble_peripheral/HIDKeyboard/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/ble_peripheral/bleUart_AT/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,323
ST17H66_SDK_3.0.9/example/ble_central/simpleBleCentral/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/peripheral/fs/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/peripheral/gpio/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/peripheral/dmac/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/peripheral/adc_manual_mode/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
8,659
ST17H66_SDK_3.0.9/example/peripheral/bsp_btn/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V5.00 ; * @date 02. March 2016 ; *************************************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/peripheral/adc/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/peripheral/timer/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/peripheral/spiflash/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/peripheral/watchdog/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/OTA/slboot/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
17HXX/BLE5_ST17H66
9,655
ST17H66_SDK_3.0.9/example/OTA/OTA_internal_flash/RTE/Device/ARMCM0/startup_ARMCM0.s
;/**************************************************************************//** ; * @file startup_ARMCM0.s ; * @brief CMSIS Core Device Startup File for ; * ARMCM0 Device Series ; * @version V1.08 ; * @date 23. November 2012 ; * ; * @note ; * ; ****************************************************...
1822417391/STM32HAL_Intelligent-Kitchen-Alarm-System
12,040
MDK-ARM/startup_stm32f103xb.s
;******************** (C) COPYRIGHT 2017 STMicroelectronics ******************** ;* File Name : startup_stm32f103xb.s ;* Author : MCD Application Team ;* Description : STM32F103xB Devices vector table for MDK-ARM toolchain. ;* This module performs: ;* ...
1995parham/github-do-not-ban-us
3,727
together/iAlex11/iAlex11.s
global start section .text start: mov rax, 0x2000004 ; write mov rdi, 1 ; stdout mov rsi, msg mov rdx, msg.len syscall mov rax, 0x2000001 ; exit mov rdi, 0 syscall section .data msg: db "GitHub is for everyone!", 10 .len: equ $ - msg /* ...
1N3/PrivEsc
7,303
linux/linux_exploits/2492.s
# gcc infR3.s -o infR3 # strip infR3 # find a writable binary (example: ls) # ./infR3 /bin/ls # when root calls the writable ls, chmod will be setuided # Coded by jolmos@7a69ezine.org == sha0@BadCheckSum.com .text .global main # infeccion de _start para conseguir local root # use at your own risk # # Coded...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
132,397
h2o-sx28ORsx48-compile-working.s
;******************************************************************************** ; H2O-Improved ;******************************************************************************** ;DEFINE ;expermenting defines, not needed. SX48RAM = 1 ; unneeded memory remap, now working starting at $10 as s...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
119,960
FINAL-REVERSE-define-restbump.s
;******************************************************************************** ; Final-fix ICE SX28 reverse ;******************************************************************************** device SX28,TURBO,PROTECT,BOROFF,BANKS8,OSCHS2,OPTIONX ID '...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
107,483
h2oWIP/h2o-orange-F.s
;******************************************************************************** ; h2o-orange-F.hex hash 1ae7402497e2d89b244f91f453765474 ;******************************************************************************** device SX28,TURBO,PROTECT,BOROFF,BANKS8,OSCHS2,OPTION...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
119,115
h2oWIP/h2o-orange-F-ntscconsoleps1fix-v8japsupportadded.s
;******************************************************************************** ; h2o-orange-F-ntscconsoleps1fix-v8japsupportadded.sxh hash 3158b96dd151bdd71406c4c05b80915e ;******************************************************************************** device SX28,TURBO...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
118,535
h2oWIP/h2o-orange-F-ps1ntscconsolefix.s
;******************************************************************************** ; h2o-orange-F-ntscconsoleps1fix.hex hash e34d47d9460e37dc78bd3bedc6b87cef ;******************************************************************************** device SX28,TURBO,PROTECT,BOROFF,BA...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
131,705
randomWIPsince-reverse/v14-improve.s
;******************************************************************************** ; h2o-orange-F-ntscconsoleps1fix-v8japsupportadded.sxh hash 3158b96dd151bdd71406c4c05b80915e ;******************************************************************************** ;DEFINE ;expermenting defines, not n...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
99,545
sx48WIP/final-48.hex-workingon-initialdisassemble.s
;******************************************************************************** ; final-48.sxh hash 51AAB2EC46914FF321B660222574430C ;******************************************************************************** device SX48,TURBO,BOROFF,OSCHS2,OPTIONX,WDRT006 ...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
112,598
sx48WIP/h2o-sx48-port-workingallbutps1imports-keepasnewbase.s
;******************************************************************************** ; final-48.sxh hash 5E421B821D54EA944B8696453CB5D762 ;******************************************************************************** device SX48,TURBO,BOROFF,OSCHS2,OPTIONX,WDRT006 ...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
103,723
sx48WIP/final-48.hex-tidyup-use-h2odev1-works-usebase.s
;******************************************************************************** ; final-48.sxh hash 3267F8B788048663ABC6E1116F0F6048 ;******************************************************************************** device SX48,TURBO,BOROFF,OSCHS2,OPTIONX,WDRT006 ...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
112,376
sx48WIP/sx48-h2o-working-port-75k-todo.s
;******************************************************************************** ; final-48.sxh hash 332FC3EFC0BB69F1CD0AB74E76AB210E ;******************************************************************************** device SX48,TURBO,BOROFF,OSCHS2,OPTIONX,WDRT006 ...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
171,428
randomWIPsince-reverse/v0messiah2port/ps2bootonlylanding-skip-logofixonly-pdv-osdsys-logo-testlogofix.s
;******************************************************************************** ; h2o-orange-F-ntscconsoleps1fix-v8japsupportadded.sxh hash 3158b96dd151bdd71406c4c05b80915e ;******************************************************************************** ;DEFINE ;expermenting defines, not n...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
19,184
randomWIPsince-reverse/v0messiah2port/workingrc-mechadvd-unlock.S
;******************************************************************************** ; h2o-orange-F-ntscconsoleps1fix-v8japsupportadded.sxh hash 3158b96dd151bdd71406c4c05b80915e ;******************************************************************************** ;DEFINE ;expermenting defines, not n...
1nick9/PS2-Magic-ICE-FINAL-REVERSE
177,042
randomWIPsince-reverse/v0messiah2port/ps2bootonlylanding-skip-logofixonly-pdv-osdsys-logo-testlogofix-mechadvdport.s
;******************************************************************************** ; h2o-orange-F-ntscconsoleps1fix-v8japsupportadded.sxh hash 3158b96dd151bdd71406c4c05b80915e ;******************************************************************************** ;DEFINE ;expermenting defines, not n...
2003scape/rsc-c
12,846
org.scape2003.mudclient/app/jni/SDL/src/video/arm/pixman-arm-neon-asm.S
/* * Copyright © 2009 Nokia Corporation * * 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, merge, pub...
2003scape/rsc-c
19,392
org.scape2003.mudclient/app/jni/SDL/src/video/arm/pixman-arm-simd-asm.S
/* * Copyright (c) 2016 RISC OS Open Ltd * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including c...
2023violet/FalconFoc
19,264
2.Firmware/FalconFoc/MDK-ARM/startup_stm32g431xx.s
;******************************************************************************* ;* @File Name : startup_stm32g431xx.s ;* @Author : MCD Application Team ;* @Brief : Vector table for MDK-ARM toolchain ;******************************************************************************* ;* De...
25th-engineer/HFUT_2020_MIPS_CPU
4,243
TESTBENCH/ax3.s
.org 0x0 .set noat .set noreorder #不进行指令调度 .set nomacro .global __start __start: # 注意,MIPS编译时,会将rs和rt的二进制位置互换,写法上是rt,rs,指令码是opcode rs rt(写入rt) # 用ori指令作为开始标志 # start code # ori $0, $0, 0x0000 # 3400 0000 # 此处开始书写代码 .org 0x0000 ori $0, $0, 0x0000 # 真正的代码 lw $1, 8188($0) li $2, 1370698181 addu $2, $...
25th-engineer/HFUT_2020_MIPS_CPU
13,032
TESTBENCH/testbench_wh_2.s
.org 0x0 .set noat .set noreorder #不进行指令调度 .set nomacro .global __start __start: # 注意,MIPS编译时,会将rs和rt的二进制位置互换,写法上是rt,rs,指令码是opcode rs rt(写入rt) # 用ori指令作为开始标志 # start code # ori $0, $0, 0x0000 # 3400 0000 # 此处开始书写代码 .org 0x0000 ori $0, $0, 0x0000 # 真正的代码 lw $1, 8188($0) li $2, 1370698181 addu $2, $...
25th-engineer/HFUT_2020_MIPS_CPU
6,695
TESTBENCH/testbench_wh_3.s
.org 0x0 .set noat .set noreorder #不进行指令调度 .set nomacro .global __start __start: # 注意,MIPS编译时,会将rs和rt的二进制位置互换,写法上是rt,rs,指令码是opcode rs rt(写入rt) # # 用nop和ori指令作为开始标志 # start code # 3400 0000 3400 0000 # ori $0, $0, 0x0000 # ori $0, $0, 0x0000 # 注意由于,编译装入问题,此处不用原先指令开头 # 3403 8000 # ori $3, $0, 0x8000 ...
25th-engineer/HFUT_2020_MIPS_CPU
1,956
TESTBENCH/testbench_lhx.s
.org 0x0 .set noat .set noreorder #不进行指令调度 .set nomacro .global __start __start: # 注意,MIPS编译时,会将rs和rt的二进制位置互换,写法上是rt,rs,指令码是opcode rs rt(写入rt) # 用ori指令作为开始标志 # start code # ori $0, $0, 0x0000 # 3400 0000 # 此处开始书写代码 .org 0x0000 ori $0, $0, 0x0000 # 真正的代码 ori $3, $0, 0x8000 # [1] $3 = 0x00008000 sll...
25th-engineer/HFUT_2020_MIPS_CPU
1,530
TESTBENCH/code_temp.s
# Test File for 40 Instruction, include: # 1. Subset 1: # ADD/SUB/SLL/SRL/SRA/SLLV/SRLV/SRAV/AND/OR/XOR/NOR/ # SLT 12 # 2. Subset 2: # ADDI/ANDI/ORI/XORI/LUI/SLTI 6 # 3. Subset 3: # LB/LH/LW/SB/SH/SW 6 # 4. Subset 4: # BEQ/BNE/BGEZ/BGTZ/BLEZ/BLTZ 6 # 5. Subset 5: # J/JAL/J...
25th-engineer/HFUT_2020_MIPS_CPU
6,232
TESTBENCH/P6_hazard.s
# Test File for 40 Instruction, include: # 1. Subset 1: # ADD/SUB/SLL/SRL/SRA/SLLV/SRLV/SRAV/AND/OR/XOR/NOR/ # SLT 12 # 2. Subset 2: # ADDI/ANDI/ORI/XORI/LUI/SLTI 6 # 3. Subset 3: # LB/LH/LW/SB/SH/SW 6 # 4. Subset 4: # BEQ/BNE/BGEZ/BGTZ/BLEZ/BLTZ 6 # 5. Subset 5: # J/JAL/J...
25th-engineer/HFUT_2020_MIPS_CPU
4,316
TESTBENCH/testbench_wh_1.s
.org 0x0 .set noat .set noreorder #不进行指令调度 .set nomacro .global __start __start: # 注意,MIPS编译时,会将rs和rt的二进制位置互换,写法上是rt,rs,指令码是opcode rs rt(写入rt) # # 用nop和ori指令作为开始标志 # start code # 3400 0000 3400 0000 # ori $0, $0, 0x0000 # ori $0, $0, 0x0000 # 注意由于,编译装入问题,此处不用原先指令开头 # 3403 8000 # ori $3, $0, 0x8000 ...
281677160/openwrt-package
18,086
luci-app-ssr-plus/shadowsocksr-libev/src/libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/stream_salsa20_amd64_xmm6.S
#ifdef HAVE_AMD64_ASM .text .p2align 5 .globl crypto_stream_salsa20 .globl _crypto_stream_salsa20 #ifdef __ELF__ .type crypto_stream_salsa20, @function .type _crypto_stream_salsa20, @function #endif crypto_stream_salsa20: _crypto_stream_salsa20: mov %rsp,%r11 and $31,%r11 add $512,%r11 sub %r11,%rsp movq %r11,416(%...
281677160/openwrt-package
2,671
luci-app-ssr-plus/shadowsocksr-libev/src/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_nsquare.S
#ifdef IN_SANDY2X /* This file is adapted from amd64-51/fe25519_square.s: Adding loop to perform n squares. */ #include "fe51_namespace.h" #include "consts_namespace.h" .p2align 5 .globl fe51_nsquare .globl _fe51_nsquare #ifdef __ELF__ .type fe51_nsquare, @function .type _fe51_nsquare, @function #endif fe51_ns...
281677160/openwrt-package
3,040
luci-app-ssr-plus/shadowsocksr-libev/src/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_mul.S
#ifdef IN_SANDY2X /* This file is basically amd64-51/fe25519_mul.s. */ #include "fe51_namespace.h" #include "consts_namespace.h" .text .p2align 5 .globl _fe51_mul .globl fe51_mul _fe51_mul: fe51_mul: mov %rsp,%r11 and $31,%r11 add $96,%r11 sub %r11,%rsp movq %r11,0(%rsp) movq %r12,8(%rsp) movq %r13,16(%rsp) movq %r...
281677160/openwrt-package
33,827
luci-app-ssr-plus/shadowsocksr-libev/src/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.S
#ifdef IN_SANDY2X #include "ladder_namespace.h" #include "consts_namespace.h" .p2align 5 .globl ladder .globl _ladder #ifdef __ELF__ .type ladder, @function .type _ladder, @function #endif ladder: _ladder: mov %rsp,%r11 and $31,%r11 add $1856,%r11 sub %r11,%rsp movq %r11,1824(%rsp) movq %r12,1832(%rsp) movq %r13,18...
281677160/openwrt-package
3,455
luci-app-ssr-plus/shadowsocksr-libev/src/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_pack.S
#ifdef IN_SANDY2X /* This file is the result of merging amd64-51/fe25519_pack.c and amd64-51/fe25519_freeze.s. */ #include "fe51_namespace.h" #include "consts_namespace.h" .p2align 5 .globl fe51_pack .globl _fe51_pack #ifdef __ELF__ .type fe51_pack, @function .type _fe51_pack, @function #endif fe51_pack: _fe5...
281677160/openwrt-package
30,292
luci-app-ssr-plus/shadowsocksr-libev/src/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_base.S
#ifdef IN_SANDY2X #include "ladder_base_namespace.h" #include "consts_namespace.h" .p2align 5 .globl ladder_base .globl _ladder_base #ifdef __ELF__ .type ladder_base, @function .type _ladder_base, @function #endif ladder_base: _ladder_base: mov %rsp,%r11 and $31,%r11 add $1568,%r11 sub %r11,%rsp movq %r11,1536(%rsp...
29jm/SnowflakeOS
2,413
kernel/src/boot/boot.S
# Relevant multiboot2 documentation: # https://www.gnu.org/software/grub/manual/multiboot2/multiboot.html # Multiboot tags .set TAG_END, 0 .set TAG_FRAMEBUFFER, 5 # Multiboot flags .set TAG_REQUIRED, 0 .set TAG_OPTIONAL, 1 # Multiboot2 header constants .set MAGIC, 0xE85250D6 .set ARCH, ...
29jm/SnowflakeOS
1,816
kernel/src/cpu/asm/isr.S
.section .text .align 4 # Only interrupts 8, 10, 11, 12, 13, 14 and 17 push an error code, so we # compensate by pushing 0 for other interrupts. # This allows reusing the same structure for all interrupts in kernel code. # Note: interrupts are disabled on call, see the flags in `idt.h` # Note: when called, the calling...
32blit/32blit-sdk
28,130
32blit-stm32/startup_stm32h750xx.s
/* ****************************************************************************** * @file startup_stm32h750xx.s * @author MCD Application Team * @brief STM32H750xx Devices vector table for GCC based toolchain. * This module performs: * - Set the initial SP * ...
32blit/32blit-sdk
3,775
32blit-stm32/startup_user.S
/* ****************************************************************************** * @file startup_stm32h750xx.s * @author MCD Application Team * @brief STM32H750xx Devices vector table for GCC based toolchain. * This module performs: * - Set the initial SP * ...
32bitmicro/newlib-nano-1.0
1,756
libgloss/iq2000/crt0.S
##============================================================================== ## ## crt0.S ## ## IQ2000 startup code ## ##============================================================================== ## ## Copyright (c) 2000, Cygnus Solutions, A Red Hat Company ## ## The authors hereby grant permission to use, cop...
32bitmicro/newlib-nano-1.0
1,673
libgloss/rx/crtn.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,507
libgloss/rx/stat.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,508
libgloss/rx/lseek.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,507
libgloss/rx/time.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,508
libgloss/rx/write.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,508
libgloss/rx/times.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,508
libgloss/rx/utime.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,508
libgloss/rx/chdir.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,593
libgloss/rx/isatty.S
/* Copyright (c) 2008, 2009 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of ...
32bitmicro/newlib-nano-1.0
1,507
libgloss/rx/open.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,507
libgloss/rx/link.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,584
libgloss/rx/exit.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,507
libgloss/rx/argv.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,507
libgloss/rx/kill.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,507
libgloss/rx/read.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,508
libgloss/rx/close.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,509
libgloss/rx/getpid.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,543
libgloss/rx/heaptop.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
4,452
libgloss/rx/crt0.S
/* Copyright (c) 2008, 2009 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list...
32bitmicro/newlib-nano-1.0
1,543
libgloss/rx/sigprocmask.S
/* Copyright (c) 2009 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,510
libgloss/rx/argvlen.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,508
libgloss/rx/fstat.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,532
libgloss/rx/sleep.S
/* Copyright (c) 2009 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,515
libgloss/rx/gettimeofday.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,658
libgloss/rx/abort.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...
32bitmicro/newlib-nano-1.0
1,508
libgloss/rx/chmod.S
/* Copyright (c) 2005 Red Hat Incorporated. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and...