repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
afska/beat-beast
2,482
butano/hw/src/bn_hw_bg_blocks.s
/* * Copyright (c) 2020-2023 Gustavo Valiente gustavo.valiente@protonmail.com * zlib License, see LICENSE file. */ /* void bn_hw_bg_blocks_commit_half_words( const uint16_t* source_data_ptr, unsigned half_words, uint16_t offset, uint16_t* destination_vram_ptr) { for(unsigned index = 0; i...
afska/beat-beast
1,152
butano/hw/src/bn_hw_palettes_asm.s
/* * Copyright (c) 2020-2023 Gustavo Valiente gustavo.valiente@protonmail.com * zlib License, see LICENSE file. */ /* unsigned bn_hw_palettes_different_words( unsigned four_words_count, const unsigned* color_words, const unsigned* stored_color_words) { while(four_words_count) ...
afska/beat-beast
2,992
butano/hw/src/bn_hw_hblank_effects.s
@ @ Copyright (c) 2021 João Baptista de Paula e Silva jbaptistapsilva@yahoo.com.br @ zlib License, see LICENSE file. @ #include "../../include/bn_config_hbes.h" #define SIZEOF_ENTRY 8 @ bn::hw::hblank_effects::_intr() .section .iwram, "ax", %progbits .align 2 .arm .global _ZN2bn2hw14hblank_effects5_i...
afska/beat-beast
2,308
butano/hw/3rd_party/cult-of-gba-bios/src/huffman.s
.section .iwram, "ax", %progbits .align 2 .arm .global swi_HuffUnCompReadNormal .type swi_HuffUnCompReadNormal STT_FUNC swi_HuffUnCompReadNormal: stmfd sp!, { r2-r11 } ldr r3, [r0], #4 @ src_len << 8 @ check for invalid decompression parameters (slightly different from others)...
afska/beat-beast
4,762
butano/hw/3rd_party/cult-of-gba-bios/src/running_length.s
.section .iwram, "ax", %progbits .align 2 .arm .global swi_RLUnCompReadNormalWrite8bit .type swi_RLUnCompReadNormalWrite8bit STT_FUNC swi_RLUnCompReadNormalWrite8bit: stmfd sp!, { r2-r4 } ldr r2, [r0], #4 lsr r2, #8 @ decomp_len @ check for invalid decompr...
afska/beat-beast
7,120
butano/hw/3rd_party/cult-of-gba-bios/src/lz77.s
@------------------------------------------------------------- @ Original code by fleroviux, distributed under the MIT License: @ Link: https://github.com/Cult-of-GBA/BIOS @ Copyright 2020 - 2021 DenSinH fleroviux @ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associ...
afska/beat-beast
2,014
butano/hw/3rd_party/libtonc/asm/clr_blend_fast.s
// // Color blend with 33 alpha levels // //! \file tonc_memcpy.s //! \author J Vijn //! \date 20071130 - 20090801 #include "../include/tonc_asminc.h" #ifndef CLR_ROUND #define CLR_ROUND 1 #endif /* void clr_blend_fast(COLOR *srca, COLOR *srcb, COLOR *dst, int nclrs, u32 alpha) IWRAM_CODE; */ //! Blends color arra...
afska/beat-beast
1,980
butano/hw/3rd_party/libtonc/asm/clr_fade_fast.s
// // Color fade with 33 alpha levels // //! \file tonc_memcpy.s //! \author J Vijn //! \date 20071130 - 20071130 #include "../include/tonc_asminc.h" #ifndef CLR_ROUND #define CLR_ROUND 1 #endif /* void clr_fade_fast(COLOR *src, COLOR clr, COLOR *dst, int nclrs, u32 alpha) IWRAM_CODE; */ //! Fades color arrays \a ...
afska/beat-beast
1,401
butano/hw/3rd_party/libtonc/asm/tonc_nocash.s
// // No$gba debugger messaging // //! \file tonc_nocash.s //! \author J Vijn //! \date 20080422 - 20080422 #include "../include/tonc_asminc.h" /* DECLARATIONS: int nocash_puts(const char *str); EWRAM_CODE void nocash_message(); extern EWRAM_DATA char nocash_buffer[80]; */ .global nocash_puts .global nocash_...
afska/beat-beast
7,509
butano/hw/3rd_party/libtonc/asm/tonc_bios.s
// // Main GBA BIOS functions. // //! \file tonc_bios.s //! \author J Vijn //! \date 20071130 - 20090801 #include "../include/tonc_asminc.h" @ === SoftReset [00h] ================================================= @ DECL: void SoftReset(); @ DESC: BEGIN_FUNC_THUMB(SoftReset, CSEC_TEXT) swi 0x00 bx lr END_FUNC(Sof...
afska/beat-beast
3,115
butano/hw/3rd_party/libtonc/asm/tonc_memset.s
// // Alignment-safe and fast memset routines // //! \file tonc_memcpy.s //! \author J Vijn //! \date 20060508 - 20090801 // // === NOTES === @ * 20050924: Lower overhead for all; reduced i-count for u16 loops. @ * These are 16/32bit memset and memcpy. The 32bit versions are in @ iwram for maximum effect and pretty...
afska/beat-beast
12,296
butano/hw/3rd_party/libtonc/src/font/verdana9.s
@{{BLOCK(verdana9) @ Verdana 9, ' ' to '', 1bpp .section .rodata .align 2 .global verdana9Font verdana9Font: .word verdana9Glyphs, verdana9Widths, 0 .hword 32, 224 .byte 8, 12 .byte 8, 16 .hword 16 .byte 1, 0 .section .rodata .align 2 .global verdana9Glyphs @ 3584 unsigned chars verdana9Glyphs: .word ...
afska/beat-beast
17,045
butano/hw/3rd_party/maxmod/source/mm_effect.s
/**************************************************************************** * __ * * ____ ___ ____ __ ______ ___ ____ ____/ / * * / __ `__ \/ __ `/ |/ / __ `__ \/ __ \/ __ / * * ...
afska/beat-beast
114,997
butano/hw/3rd_party/maxmod/source/mm_mas.s
/**************************************************************************** * __ * * ____ ___ ____ __ ______ ___ ____ ____/ / * * / __ `__ \/ __ `/ |/ / __ `__ \/ __ \/ __ / * * ...
afska/beat-beast
17,963
butano/hw/3rd_party/maxmod/source/mm_mas_arm.s
/**************************************************************************** * __ * * ____ ___ ____ __ ______ ___ ____ ____/ / * * / __ `__ \/ __ `/ |/ / __ `__ \/ __ \/ __ / * * ...
afska/beat-beast
4,700
butano/hw/3rd_party/maxmod/source/mm_main.s
/**************************************************************************** * __ * * ____ ___ ____ __ ______ ___ ____ ____/ / * * / __ `__ \/ __ `/ |/ / __ `__ \/ __ \/ __ / * * ...
afska/beat-beast
7,647
butano/hw/3rd_party/maxmod/source_gba/mm_main_gba.s
/**************************************************************************** * __ * * ____ ___ ____ __ ______ ___ ____ ____/ / * * / __ `__ \/ __ `/ |/ / __ `__ \/ __ \/ __ / * * ...
afska/beat-beast
3,334
butano/hw/3rd_party/maxmod/source_gba/mm_init_default.s
/**************************************************************************** * __ * * ____ ___ ____ __ ______ ___ ____ ____/ / * * / __ `__ \/ __ `/ |/ / __ `__ \/ __ \/ __ / * * ...
afska/beat-beast
36,515
butano/hw/3rd_party/maxmod/source_gba/mm_mixer_gba.s
/**************************************************************************** * __ * * ____ ___ ____ __ ______ ___ ____ ____/ / * * / __ `__ \/ __ `/ |/ / __ `__ \/ __ \/ __ / * * ...
afska/beat-beast
5,740
butano/hw/3rd_party/libugba/src/irq_handler.s
// SPDX-License-Identifier: MIT // // Copyright (c) 2020-2022 Antonio Niño Díaz .section .iwram, "ax", %progbits .code 32 .set MEM_IO_ADDR, 0x04000000 .set OFFSET_IE, 0x200 .set OFFSET_IF, 0x202 .set OFFSET_IME, 0x208 .global IRQ_GlobalInterruptHandler IRQ_GlobalInterruptHandler: // ...
afska/beat-beast
13,341
butano/hw/3rd_party/posprintf/src/posprintf.s
/* posprintf - a condensed version of sprintf for Thumb, esp. GBA Copyright (C) 2003 Dan Posluns The person or persons who have associated work with this document (the "Dedicator" or "Certifier") hereby either (a) certifies that, to the best of his knowledge, the work of authorship identified is in the public domain ...
afska/beat-beast
2,827
butano/hw/3rd_party/gba-modern/src/sqrt32.s
@-------------------------------------------------------------------------------- @ sqrt32.s @-------------------------------------------------------------------------------- @ Provides an implementation of a square root algorithm for 32-bits @----------------------------------------------------------------------------...
afska/beat-beast
1,759
butano/hw/3rd_party/gba-modern/src/clz.s
@-------------------------------------------------------------------------------- @ clz.s @-------------------------------------------------------------------------------- @ Provides an implementation of the count-leading-zeros routine utilized @ in the std::sort algorithm @---------------------------------------------...
afska/beat-beast
1,821
butano/hw/3rd_party/gba-modern/src/sdiv32.s
@-------------------------------------------------------------------------------- @ sdiv32.s @-------------------------------------------------------------------------------- @ Provides an implementation of 32-bit/32-bit signed division @-------------------------------------------------------------------------------- ...
afska/beat-beast
2,450
butano/hw/3rd_party/gba-modern/src/udiv32.s
@-------------------------------------------------------------------------------- @ udiv32.s @-------------------------------------------------------------------------------- @ Provides an implementation of 32-bit/32-bit unsigned division @--------------------------------------------------------------------------------...
afska/beat-beast
3,060
butano/hw/3rd_party/agbabi/src/memset.s
@=============================================================================== @ @ ABI: @ __aeabi_memclr, __aeabi_memclr4, __aeabi_memclr8, @ __aeabi_memset, __aeabi_memset4, __aeabi_memset8 @ Standard: @ memset @ Support: @ __agbabi_wordset4, __agbabi_lwordset4, __agbabi_memset1 @ @ Copyright (C) 2021-20...
afska/beat-beast
1,515
butano/hw/3rd_party/agbabi/src/memmove.s
@=============================================================================== @ @ ABI: @ __aeabi_memmove, __aeabi_memmove4, __aeabi_memmove8 @ Standard: @ memmove @ @ Copyright (C) 2021-2023 agbabi contributors @ For conditions of distribution and use, see copyright notice in LICENSE.md @ @====================...
afska/beat-beast
2,100
butano/hw/3rd_party/agbabi/src/atan2.s
/* =============================================================================== Support: __agbabi_atan2 Taken from https://www.coranac.com/documents/arctangent/ by Jasper "cearn" Vijn Modified for libagbabi =============================================================================== */ #define BAM_BITS...
afska/beat-beast
2,451
butano/hw/3rd_party/agbabi/src/rmemcpy.s
@=============================================================================== @ @ Support: @ __agbabi_rmemcpy, __agbabi_rmemcpy1 @ @ Copyright (C) 2021-2023 agbabi contributors @ For conditions of distribution and use, see copyright notice in LICENSE.md @ @=========================================================...
afska/beat-beast
2,088
butano/hw/3rd_party/agbabi/src/fiq_memcpy.s
@=============================================================================== @ @ Support: @ __agbabi_fiq_memcpy4, __agbabi_fiq_memcpy4x4 @ @ Copyright (C) 2021-2023 agbabi contributors @ For conditions of distribution and use, see copyright notice in LICENSE.md @ @================================================...
afska/beat-beast
1,714
butano/hw/3rd_party/agbabi/src/coroutine_asm.s
@=============================================================================== @ @ Support: @ __agbabi_coro_resume, __agbabi_coro_yield, __agbabi_coro_pop @ @ Copyright (C) 2021-2023 agbabi contributors @ For conditions of distribution and use, see copyright notice in LICENSE.md @ @================================...
afska/beat-beast
2,980
butano/hw/3rd_party/agbabi/src/memcpy.s
@=============================================================================== @ @ ABI: @ __aeabi_memcpy, __aeabi_memcpy4, __aeabi_memcpy8 @ Standard: @ memcpy @ Support: @ __agbabi_memcpy2, __agbabi_memcpy1 @ @ Copyright (C) 2021-2023 agbabi contributors @ For conditions of distribution and use, see copyrig...
afska/beat-beast
1,504
butano/hw/3rd_party/agbabi/src/lmul.s
@=============================================================================== @ @ ABI: @ __aeabi_lmul, __aeabi_llsl, __aeabi_llsr, __aeabi_lasr @ @ Copyright (C) 2021-2023 agbabi contributors @ For conditions of distribution and use, see copyright notice in LICENSE.md @ @==========================================...
agatti/hopper-plugins
3,914
test/TMS1000/tms1000opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
3,899
test/TMS1000/tms1100opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,499
test/8x300/jump.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,444
test/8x300/synthetic8x305.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,799
test/8x300/opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,483
test/8x300/switch.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,411
test/8x300/synthetic8x300.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700table42a16i8.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700opcodesa8i16.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700opcodesa16i8.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700table42a8i16.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700table42a8i8.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700table89a16i8.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,702
test/65816/65816width.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700table89a8i8.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
6,237
test/65816/65816opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700opcodesa16i16.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700opcodesa8i8.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,576
test/65816/65816per.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700table42a16i16.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700table89a16i16.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
1,440
test/65816/m7700table89a8i16.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
2,087
test/65816/65816modes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
2,732
test/6502/6502jumps.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
4,532
test/6502/6502opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
2,853
test/6502/65c02jumps.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
4,951
test/6502/65c02opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
5,616
test/6502/r65c02opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
5,940
test/6502/m37450opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
5,910
test/6502/m740opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
5,200
test/6502/r6500opcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agatti/hopper-plugins
5,636
test/6502/w65c02sopcodes.s
; Copyright (c) 2014-2021, Alessandro Gatti - frob.it ; 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. Redistributions of source code must retain the above copyright notice, ; this list o...
agavrel/Nailing-the-Coding-Interview
35,974
parsing/string_to_lowercase/benchmark.s
.file "benchmark.cpp" .text .align 2 .p2align 4,,15 .type _ZNKUlOT_DpOT0_E_clIRFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSB_EJSC_EEEDaS0_S3_.isra.26, @function _ZNKUlOT_DpOT0_E_clIRFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSB_EJSC_EEEDaS0_S3_.isra.26: .LFB4308: .cfi_startproc pushq %r13 ...
agbrs/agb
2,952
agb/src/interrupt_handler.s
.arm .global InterruptHandler .section .iwram.interrupt_handler, "ax", %progbits .align InterruptHandler: .set IO_MEMORY_MAPPED_REGISTERS, 0x04000000 .set OFFSET_INTERRUPT_ENABLED, 0x200 mov r1, #IO_MEMORY_MAPPED_REGISTERS ldr r3, [r1, #OFFSET_INTERRUPT_ENABLED]! and r0, r3, r3, ls...
agbrs/agb
2,613
agb/src/entrypoint.s
.arm .section .entrypoint.regular, "ax", %progbits .align .global __start __start: b .Initialise @ Filled in by gbafix .space 188 .Initialise: @ Set interrupt handler ldr r0, =InterruptHandler ldr r1, =0x03007FFC str r0, [r1] @ copies ewram section in rom to ewram in ram ...
agbrs/agb
1,240
agb/src/save/asm_routines.s
@ @ char WramReadByte(const char* offset); @ @ A routine that reads a byte from a given memory offset. @ agb_thumb_func agb_rs__WramReadByte ldrb r0, [r0] bx lr agb_thumb_end agb_rs__WramReadByte @ @ bool WramVerifyBuf(const char* buf1, const char* buf2, int count); @ @ A routine that compares two memory offse...
agbrs/agb
3,132
agb/src/agbabi/memset.s
@=============================================================================== @ @ ABI: @ __aeabi_memclr, __aeabi_memclr4, __aeabi_memclr8, @ __aeabi_memset, __aeabi_memset4, __aeabi_memset8 @ Standard: @ memset @ Support: @ __agbabi_wordset4, __agbabi_lwordset4, __agbabi_memset1 @ @ Copyright (C) 2021-20...
agbrs/agb
3,054
agb/src/agbabi/memcpy.s
@=============================================================================== @ @ ABI: @ __aeabi_memcpy, __aeabi_memcpy4, __aeabi_memcpy8 @ Standard: @ memcpy @ Support: @ __agbabi_memcpy2, __agbabi_memcpy1 @ @ Copyright (C) 2021-2023 agbabi contributors @ For conditions of distribution and use, see copyrig...
agbrs/agb
7,808
agb/src/sound/mixer/mixer.s
.macro mono_add_fn_loop fn_name:req is_first:req is_loop:req agb_arm_func \fn_name @ Arguments @ r0 - pointer to the sample data from the beginning @ r1 - pointer to the target sample buffer &[i32; BUFFER_SIZE] @ r2 - BUFFER_SIZE - the length of the array in r1. Must be a multiple of 4 @ r3 - (lengt...
ageneau/ecl-android
2,486
nacl/libgc/rs6000_mach_dep.s
.set r0,0 .set r1,1 .set r2,2 .set r3,3 .set r4,4 .set r5,5 .set r6,6 .set r7,7 .set r8,8 .set r9,9 .set r10,10 .set r11,11 .set r12,12 .set r13,13 .set r14,14 .set r15,15 .set r16,16 .set r17,17 .set r18,1...
ageneau/ecl-android
2,525
nacl/libgc/powerpc_macosx_mach_dep.s
.text .set linkageArea,24 .set params,4 .set alignment,4 .set spaceToSave,linkageArea+params+alignment .set spaceToSave8,spaceToSave+8 ; Mark from machine registers that are saved by C compiler .globl _GC_push_regs _GC_push_regs: ; PROLOG mflr r0 ; get ret...
ageneau/ecl-android
2,081
nacl/libgc/alpha_mach_dep.S
.arch ev6 .text .align 4 .globl GC_push_regs .ent GC_push_regs 2 GC_push_regs: ldgp $gp, 0($27) lda $sp, -16($sp) stq $26, 0($sp) .mask 0x04000000, 0 .frame $sp, 16, $26, 0 /* $0 integer result */ /*...
ageneau/ecl-android
1,526
nacl/libgc/powerpc_darwin_mach_dep.s
; GC_push_regs function. Under some optimization levels GCC will clobber ; some of the non-volatile registers before we get a chance to save them ; therefore, this cannot be inline asm. .text .align 2 .globl _GC_push_regs _GC_push_regs: ; Prolog mflr r0 stw r0,8(r1) stwu r1,-80(r1) ; Push r13-r31 mr ...
ageneau/ecl-android
1,736
nacl/libgc/sparc_mach_dep.S
! SPARCompiler 3.0 and later apparently no longer handles ! asm outside functions. So we need a separate .s file ! This is only set up for SunOS 5, not SunOS 4. ! Assumes this is called before the stack contents are ! examined. .seg "text" .globl GC_save_regs_in_stack .globl GC_push_regs GC_save_regs_in_stack: G...
ageneau/ecl-android
1,267
nacl/libgc/mips_sgi_mach_dep.s
#include <sys/regdef.h> #include <sys/asm.h> /* This file must be preprocessed. But the SGI assembler always does */ /* that. Furthermore, a generic preprocessor won't do, since some of */ /* the SGI-supplied include files rely on behavior of the MIPS */ /* assembler. Hence we treat and name this file as though it...
AgentD/hausboot
1,297
mbr/abi.S
/* SPDX-License-Identifier: ISC */ /* * abi.S * * Copyright (C) 2023 David Oberhollenzer <goliath@infraroot.at> */ .code16 .global main .global CallVbr .section ".entry" /* Main entry point. The BIOS loads the MBR to 0000:7c00 and then jump here. We relocate the MBR to 0000:0600 (the linker "thinks" we are...
AgentD/hausboot
1,528
kernel/abi.S
/* SPDX-License-Identifier: ISC */ /* * abi.S * * Copyright (C) 2023 David Oberhollenzer <goliath@infraroot.at> */ .global _start .extern multiboot_main .extern inital_stack_ptr /* We use the linker script to set up the following order of sections: - text - data - bss Each with 4k alignment. We instruct t...
AgentD/hausboot
1,840
lib/pm86/pmcall.S
/* SPDX-License-Identifier: ISC */ /* * pmcall.S * * Copyright (C) 2023 David Oberhollenzer <goliath@infraroot.at> */ .code16 .section ".text" .globl ProtectedModeCall .type ProtectedModeCall, @function ProtectedModeCall: /* save away the 16 bit context */ popl %eax movl %eax, (_scratch) movl %ebp, (_scratc...
Aghajari/AXrLottie
19,929
AXrLottie/src/main/cpp/src/vector/pixman/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...
aggresss/RFDemo
33,817
Code/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...
aggresss/RFDemo
19,812
Code/Uboot/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...
aggresss/RFDemo
5,948
Code/Uboot/board/rt2880/memsetup.S
/* FILE_DESC ***************************************************************** // // Purpose: // This file contains macros used for memory initialization. // // Sp. Notes: // // *****************************************************************************/ /*=====================* * Include Files * *=======...
aggresss/RFDemo
6,127
Code/Uboot/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" /*====...
aggresss/RFDemo
6,388
Code/Uboot/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...
aggresss/RFDemo
33,902
Code/Uboot/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...
aggresss/RFDemo
19,812
Code/Uboot_httpd/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...
aggresss/RFDemo
5,948
Code/Uboot_httpd/board/rt2880/memsetup.S
/* FILE_DESC ***************************************************************** // // Purpose: // This file contains macros used for memory initialization. // // Sp. Notes: // // *****************************************************************************/ /*=====================* * Include Files * *=======...
aggresss/RFDemo
6,127
Code/Uboot_httpd/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" /*====...
aggresss/RFDemo
6,388
Code/Uboot_httpd/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...
aggresss/RFDemo
33,902
Code/Uboot_httpd/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...
agiledragon/gomonkey
1,855
write_darwin_amd64.s
/* * Copyright 2022 ByteDance Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
agiledragon/gomonkey
1,818
write_darwin_arm64.s
/* * Copyright 2022 ByteDance Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
AgonPlatform/agondev
3,835
release/examples/ez80asm/src/moscalls.s
.assume adl=1 .global _removefile .global _getfilesize .global _fast_strcasecmp .global _fast_strncasecmp .section .text ; Removes filename from SD card ; Input: filename string ; Output: A: File error, or 0 if OK _removefile: push ix ld ix,0 add ix, sp ld hl, (ix+6) ; Address of path...
AgonPlatform/agon-ez80asm
2,629
tests/Macro/tests/nested_macro_test.s
; Nested Macros test for Jeroen ; Richard Turnnidge 2024 ; --------------------------------------------- ; ; MACROS ; ; --------------------------------------------- macro MOSCALL afunc ld a, afunc rst.lil $08 endmacro macro TAB_TO_XY x, y ld a, 31 rst.lil $10 ld a, x rst.lil $10 ld a, y rst.lil $10 end...
AgonPlatform/agon-ez80asm
1,509
tests/Parser/tests/operands_with_spaces.s
; testing the getOperator code ; spacing after operators ld a,1+1 ld a,1+1; ld a,1+1 ; ld a,1+1 ; ld a,1+1 ; ; spacing just before operators ld a, 1+1 ld a, 1+1; ld a, 1+1 ; ld a, 1+1 ; ld a, 1+1 ; ld a, 1+1 ld a, 1+1; ld a, 1+1 ; ld a, 1+1 ; ld a, 1+1 ; ld a, 1+1 ld a, 1+1; ld a, 1+1 ;...
AgonPlatform/agon-ez80asm
2,129
tests/Parser/tests/compound.s
; line with label, opcode, tokens ; objective: check parser handling of spacing and parsing of basic tokens ; ; regular spaces, without comments label1:ld a ,b ;label2:ld.lil a,(5) label3: ld a,b label4: ld a, b label5: ld a, b label6: ld a, b ; with tabs label7: ld a , b ; with comments label8: ld a,b;comment l...
AgonPlatform/agon-ez80asm
17,079
tests/Numbers/tests/compound_binarytest.s
; line with label, opcode, tokens ; objective: correct parsing of different number systems ; ; Basic 1-byte number tests .org $40000 ; Hexadecimal ld a, 0xa ld a, 0xA ld a, 0XA ld a, 0x0A ld a, 0X0A ld a, 0x00A ; test overflow test in operand parsing ld a, 0X00A ld a, #A ld a, #0A ...