repo_id stringlengths 5 115 | size int64 590 5.01M | file_path stringlengths 4 212 | content stringlengths 590 5.01M |
|---|---|---|---|
AgonPlatform/agon-ez80asm | 2,783 | tests/Numbers/tests/all_char_literals.s | ; Escaped characters
LD A, '\a'
LD A, '\b'
LD A, '\e'
LD A, '\f'
LD A, '\n'
LD A, '\r'
LD A, '\t'
LD A, '\v'
LD A, '\\'
LD A, '\''
LD A, '\"'
LD A, '\?'
; Normal characters
LD A, ' '
LD A, '!'
LD A, '"'
LD A, '#'
LD A, '$'
LD A, '%'
LD A, '&'
... |
AgonPlatform/agon-ez80asm | 1,173 | tests/Value_operators/tests/bracket_compound.s | ; All values should result in zero
; Testing basic bracket functionality including spacing tolerances in the parser
ld a, [0]
ld a, [ 0]
ld a, [0 ]
ld a, [ 0 ]
ld a, [ 0 ];tab
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, 5-... |
AgonPlatform/agon-ez80asm | 6,351 | tests/Z_PRG_AgonBits_Lessons/tests/ink.s | ; Example of MOSlet
.assume adl=1
.org $0B0000 ; NOTE different assemble address for MOSlets
jp start ; We jump over the header
.align 64
.db "MOS"
.db 00h
.db 01h
app_name: .db "ink.bin", 0 ; The executable name, only used in a... |
AgonPlatform/agon-ez80asm | 2,658 | tests/Z_PRG_AgonBits_Lessons/tests/udg.s | include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS",0,1
start_here:
... |
AgonPlatform/agon-ez80asm | 2,526 | tests/Z_PRG_AgonBits_Lessons/tests/joystick.s | ; AGON CONSOLE8
; Joystick Lesson
; Richard Turnnidge 2024
.assume adl=1 ; big memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS",0,1
; ---------------------------------------------
;
; INITIAL SETUP CODE HERE
;
; -----------------------------... |
AgonPlatform/agon-ez80asm | 1,563 | tests/Z_PRG_AgonBits_Lessons/tests/usemacros.s | include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS",0,1
start_here:
... |
AgonPlatform/agon-ez80asm | 7,611 | tests/Z_PRG_AgonBits_Lessons/tests/scroll.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 3,913 | tests/Z_PRG_AgonBits_Lessons/tests/slowdown.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 2,256 | tests/Z_PRG_AgonBits_Lessons/tests/showkey.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 1,960 | tests/Z_PRG_AgonBits_Lessons/tests/getinfo.s | .assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS",0,1
start_here:
push af ... |
AgonPlatform/agon-ez80asm | 3,285 | tests/Z_PRG_AgonBits_Lessons/tests/random.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 4,971 | tests/Z_PRG_AgonBits_Lessons/tests/savedata.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 5,691 | tests/Z_PRG_AgonBits_Lessons/tests/getpixel.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 2,717 | tests/Z_PRG_AgonBits_Lessons/tests/textinput.s | .assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS",0,1
include "myMacros.inc"
start_here:
... |
AgonPlatform/agon-ez80asm | 1,768 | tests/Z_PRG_AgonBits_Lessons/tests/text.s | .assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS",0,1
start_here:
push af ... |
AgonPlatform/agon-ez80asm | 3,963 | tests/Z_PRG_AgonBits_Lessons/tests/plot.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 3,142 | tests/Z_PRG_AgonBits_Lessons/tests/bitmap.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 4,102 | tests/Z_PRG_AgonBits_Lessons/tests/viewport.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 6,010 | tests/Z_PRG_AgonBits_Lessons/tests/mouse.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 6,050 | tests/Z_PRG_AgonBits_Lessons/tests/sprite.s | ; extra MACRO files need to go here
include "myMacros.inc"
.assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS"... |
AgonPlatform/agon-ez80asm | 990 | tests/Z_PRG_AgonBits_Lessons/tests/hello.s | .assume adl=1 ; ez80 ADL memory mode
.org $40000 ; load code here
jp start_here ; jump to start of code
.align 64 ; MOS header
.db "MOS",0,1
start_here:
push af ; store all the registers
push bc
push de
push ix
push ... |
AgonPlatform/agon-ez80asm | 3,940 | tests/Opcodes/tests/opcodes_m-z.s | .assume adl=1
mlt bc
mlt de
mlt hl
mlt sp
neg
nop
or a, (hl)
or a, ixh
or a, ixl
or a, iyh
or a, iyl
or a, (ix+5)
or a, (iy+5)
or a, 5
or a, a
or a, b
or a, c
or a, d
or a, e
or a, h
or a, l
otd2r
otdm
otdmr
otdr
otdrx
oti2r
otim
otimr
otir
otirx
out (bc), a
out (bc), b
out (bc), c
o... |
AgonPlatform/agon-ez80asm | 11,675 | tests/Opcodes/tests/z80_undocumented.s | ; Testing only the undocumented Z80 instructions.
.cpu Z80
inc ixh ; DD 24
inc ixl ; DD 2C
inc iyh ; FD 24
inc iyl ; FD 2C
sll b ; DDCB 30
sll c ; DDCB 31
sll d ; DDCB 32
sll e ; DDCB 33
sll h ; DDCB 34
sll l ; DDCB 35
sll a ; DDCB 37
in (c) ; ED 70
out (c),0 ; ED ... |
AgonPlatform/agon-ez80asm | 2,426 | tests/Opcodes/tests/opcodes_l.s | .assume adl=1
ld a, i
ld a, (ix+5)
ld a, (iy+5)
ld a, mb
ld a, (aabbcch)
ld a, r
ld a, (bc)
ld a, (de)
ld a, (hl)
ld hl, i
ld (hl), ix
ld (hl), iy
ld (hl), 5
ld (hl), a
ld (hl), b
ld (hl), c
ld (hl), d
ld (hl), e
ld (hl), h
ld (hl), l
ld (hl), bc
ld (hl), de
ld (hl), hl
ld i, hl
ld i, a
ld i... |
AgonPlatform/agon-ez80asm | 1,407 | tests/Addressing/tests/test_relocate_addressing.s | ; Testing relocation addresses using the .relocate directive
.org $40000
start:
jp $50000
.align $100 ; to facilitate manual byte counting in preparation of this test
.relocate $50000
ld a,0 ; 50000 / 50001
ld a,0 ; 50002 / 50003
rellabel: ; 50004
ld a,0 ; 5... |
AgonPlatform/agon-ez80asm | 2,108 | tests/Defines/tests/compound.s | ; Test directive variants
db 1
.db 1
DB 1
.DB 1
defb 1
.defb 1
ascii 1
.ascii 1
byte 1
.byte 1
dw 1
.dw 1
DW 1
.DW 1
defw 1
.defw 1
DEFW 1
.DEFW 1
dl 1
.dl 1... |
AgoraIO-Community/Solo | 2,632 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_resampler_private_AR2_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 10,005 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_decode_core_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 6,467 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_resampler_private_down_FIR_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 7,104 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_warped_autocorrelation_FIX_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 2,964 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_A2NLSF_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 3,468 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_resampler_up2_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 4,326 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_prefilter_FIX_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 5,057 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_NLSF_VQ_sum_error_FIX_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 3,883 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_lin2log_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 3,256 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_clz_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 47,507 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_MA_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 8,030 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_array_maxabs_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 5,346 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_schur64_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 9,351 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_resampler_rom_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 3,613 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_resampler_private_ARMA4_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 3,431 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_sum_sqr_shift_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 3,588 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_allpass_int_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 4,293 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_resampler_private_up2_HQ_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 3,460 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_resampler_down2_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 15,326 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_inner_prod_aligned_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 3,564 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_resampler_private_IIR_FIR_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 2,966 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_sigm_Q15_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AgoraIO-Community/Solo | 5,894 | JC1_SDK_SRC_ARM/src/libSATECodec/SKP_Silk_ana_filt_bank_1_arm.S | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
AGProjects/python-sipsimple | 1,487 | deps/pjsip/pjlib/src/pj/compat/longjmp_i386.S | /* longjmp for i386.
Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Founda... |
AGProjects/python-sipsimple | 2,073 | deps/pjsip/pjlib/src/pj/compat/setjmp_i386.S | /* setjmp for i386, ELF version.
Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
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 Fre... |
agranlund/wolf | 2,241 | z80/main.s | ; Wolfenstein 3D for Gameboy Color
; (c) 2017, Anders Granlund
; www.happydaze.se
;
; 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 the Free Software Foundation; either version 2
; of the License, or (at your option) any lat... |
agranlund/wolf | 27,685 | z80/screens.s | ; Wolfenstein 3D for Gameboy Color
; (c) 2017, Anders Granlund
; www.happydaze.se
;
; 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 the Free Software Foundation; either version 2
; of the License, or (at your option) any lat... |
agranlund/wolf | 12,876 | z80/gbt_player.s | ;###############################################################################
;# #
;# #
;# GBT PLAYER 3_0_5 ... |
agranlund/wolf | 9,811 | z80/gfx.s | ; Wolfenstein 3D for Gameboy Color
; (c) 2017, Anders Granlund
; www.happydaze.se
;
; 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 the Free Software Foundation; either version 2
; of the License, or (at your option) any lat... |
agranlund/wolf | 27,687 | z80/gbt_player_bank1.s | ;###############################################################################
;# #
;# #
;# GBT PLAYER 3_0_5 ... |
agranlund/wolf | 7,588 | z80/intro.s | ; Wolfenstein 3D for Gameboy Color
; (c) 2017, Anders Granlund
; www.happydaze.se
;
; 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 the Free Software Foundation; either version 2
; of the License, or (at your option) any lat... |
agranlund/wolf | 5,050 | z80/sound.s | ; Wolfenstein 3D for Gameboy Color
; (c) 2017, Anders Granlund
; www.happydaze.se
;
; 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 the Free Software Foundation; either version 2
; of the License, or (at your option) any lat... |
agranlund/wolf | 44,080 | z80/game.s | ; Wolfenstein 3D for Gameboy Color
; (c) 2017, Anders Granlund
; www.happydaze.se
;
; 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 the Free Software Foundation; either version 2
; of the License, or (at your option) any lat... |
agranlund/wolf | 10,674 | z80/sys.s | ; Wolfenstein 3D for Gameboy Color
; (c) 2017, Anders Granlund
; www.happydaze.se
;
; 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 the Free Software Foundation; either version 2
; of the License, or (at your option) any lat... |
agranlund/wolf | 10,810 | z80/gfx/legal.s | ; ///////////////////////
; // //
; // File Attributes //
; // //
; ///////////////////////
; Filename: legal.bmp
; Pixel Width: 160px
; Pixel Height: 144px
; /////////////////
; // //
; // Constants //
; // //
; /////////////////
.EQU legal_tile_map_si... |
agranlund/wolf | 5,308 | z80/gfx/title.s | ; ///////////////////////
; // //
; // File Attributes //
; // //
; ///////////////////////
; Filename: title.bmp
; Pixel Width: 160px
; Pixel Height: 144px
; /////////////////
; // //
; // Constants //
; // //
; /////////////////
.EQU title_tile_map_si... |
agranlund/wolf | 10,648 | z80/gfx/gbc_only.s | ; Filename: gbc_only.bmp
; Pixel Width: 160px
; Pixel Height: 144px
.EQU gbc_only_tile_map_size $0168
.EQU gbc_only_tile_map_width $14
.EQU gbc_only_tile_map_height $12
.EQU gbc_only_tile_data_size $07F0
.EQU gbc_only_tile_count $0168
; ////////////////
; // //
; // Map Data //
; // //
;... |
agra-uni-bremen/microrv32 | 1,590 | microrv32/sw/basic-uart-asm/uart.S | .globl _start
.equ SYSCALL_ADDR, 0x02010000
.equ LED_ADDR, 0x81000000
.equ UART_TX_DATA_ADDR, 0x82000000
.equ UART_TX_CTRL_ADDR, 0x82000004
.equ UART_RX_DATA_ADDR, 0x82000008
.macro SYS_EXIT, exit_code
li a7, 93
li x10, \exit_code
li x5, SYSCALL_ADDR
sw a7, 0(x5)
.endm
.macro LED_WRITE, led_val
li... |
agra-uni-bremen/microrv32 | 2,172 | microrv32/sw/instructionTests/instr.S | .globl _start
# program entry-point
_start:
# test nop, should result in addi x0,x0,0
nop
# load some constants
li x4,0x01
li x5,0xAA
li x6,0x55
# write to x0 should never work
li x0, 0xff
## register register integer instructions
# add and subtract
# add should result 0xFF
# sub should result 0x55
add x7, x5, x6... |
agra-uni-bremen/microrv32 | 3,646 | microrv32/sw/basic-timerirq/timer.S | .globl _start
.equ SYSCALL_ADDR, 0x02010000
.equ LED_ADDR, 0x81000000
.equ UART_TX_DATA_ADDR, 0x82000000
.equ UART_TX_CTRL_ADDR, 0x82000004
.equ UART_RX_DATA_ADDR, 0x82000008
.equ CLIC_MTIME_LO, 0x0200bff8
.equ CLIC_MTIME_HI, 0x0200bffc
.equ CLIC_MTIMECMP_LO, 0x02004000
.equ CLIC_MTIMECMP_HI, 0x02004004
.macro INIT_HW... |
agra-uni-bremen/microrv32 | 1,183 | microrv32/sw/benchmarks/dhrystone/crt.S | .section ".text.init"
.globl _start
_start:
li x1, 0
li x2, 0
li x3, 0
li x4, 0
li x5, 0
li x6, 0
li x7, 0
li x8, 0
li x9, 0
li x10,0
li x11,0
li x12,0
li x13,0
li x14,0
li x15,0
li x16,0
li x17,0
li x18,0
li x19,0
li x20,0
li x21,0
li x22,0
li x2... |
agra-uni-bremen/microrv32 | 1,200 | microrv32/sw/benchmarks/qsort/crt.S | .section ".text.init"
.globl _start
_start:
li x1, 0
li x2, 0
li x3, 0
li x4, 0
li x5, 0
li x6, 0
li x7, 0
li x8, 0
li x9, 0
li x10,0
li x11,0
li x12,0
li x13,0
li x14,0
li x15,0
li x16,0
li x17,0
li x18,0
li x19,0
li x20,0
li x21,0
li x22,0
li x2... |
AGProjects/python-sipsimple | 20,023 | deps/pjsip/third_party/opus/celt/arm/celt_pitch_xcorr_arm.s | ; Copyright (c) 2007-2008 CSIRO
; Copyright (c) 2007-2009 Xiph.Org Foundation
; Copyright (c) 2013 Parrot
; Written by Aurélien Zanelli
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; - Redistributions of sou... |
AGProjects/python-sipsimple | 20,415 | deps/pjsip/third_party/opus/celt/arm/celt_pitch_xcorr_arm-gnu.S | .syntax unified
@ Copyright (c) 2007-2008 CSIRO
@ Copyright (c) 2007-2009 Xiph.Org Foundation
@ Copyright (c) 2013 Parrot
@ Written by Aurélien Zanelli
@
@ Redistribution and use in source and binary forms, with or without
@ modification, are permitted provided that the following conditions
@ are met:
@
@ - Re... |
agsb/milliForth-6502 | 27,489 | tsts/sector-6502-tst.s | ;----------------------------------------------------------------------
;
; A MilliForth for 6502
;
; original for the 6502, by Alvaro G. S. Barcellos, 2023
;
; https://github.com/agsb
; see the disclaimer file in this repo for more information.
;
; SectorForth and MilliForth was made for x86 arch
; and ... |
agsb/milliForth-6502 | 6,385 | tsts/alts.s | ;----------------------------------------------------------------------
;
; original for the 6502, by Alvaro G. S. Barcellos, 2023
;
; https://github.com/agsb
; see the disclaimer file in this repo for more information.
;
; The way at 6502 is use page zero and lots of lda/sta
;
; why ? For understand better ... |
agsb/milliForth-6502 | 21,825 | tsts/sector-6502-hard.s | ;----------------------------------------------------------------------
;
; A MilliForth for 6502
;
; original for the 6502, by Alvaro G. S. Barcellos, 2023
;
; https://github.com/agsb
; see the disclaimer file in this repo for more information.
;
; SectorForth and MilliForth was made for x86 arch
; and ... |
agsb/milliForth-6502 | 26,757 | 6502/sector-6502.s | ;----------------------------------------------------------------------
;
; A MilliForth for 6502
;
; original for the 6502, by Alvaro G. S. Barcellos, 2023
;
; https://github.com/agsb
; see the disclaimer file in this repo for more information.
;
; SectorForth and MilliForth was made for x86 arch
; and ... |
agsb/milliForth-6502 | 26,860 | 6502/sector-6502-zero.s | ;----------------------------------------------------------------------
;
; A MilliForth for 6502
;
; original for the 6502, by Alvaro G. S. Barcellos, 2023
;
; https://github.com/agsb
; see the disclaimer file in this repo for more information.
;
; SectorForth and MilliForth was made for x86 arch
; and ... |
agsb/milliForth-6502 | 82,783 | refs/jonesforth.S | /* A sometimes minimal FORTH compiler and tutorial for Linux / i386 systems. -*- asm -*-
By Richard W.M. Jones <rich@annexia.org> http://annexia.org/forth
This is PUBLIC DOMAIN (see public domain release statement below).
$Id: jonesforth.S,v 1.47 2009-09-11 08:33:13 rich Exp $
gcc -m32 -nostdlib -static -Wl,-Ttext... |
agsb/milliForth-6502 | 7,755 | refs/monitor.s | ; AlexMon Monitor by Adumont
;
; Copyright (C) 2021-2023 Alexandre Dumont <adumont@gmail.com>
;
; SPDX-License-Identifier: GPL-3.0-only
;
; Monitor will show content at ADDR.
; You can type:
; - an ADDR (4 char, hex) --> set ADDR
; - a value (2 char, hex) --> store value at ADDR
; - ' followed by a char --> store the... |
agsb/milliForth-6502 | 26,861 | stub/6502-zero/sector-6502.s | ;----------------------------------------------------------------------
;
; A MilliForth for 6502
;
; original for the 6502, by Alvaro G. S. Barcellos, 2023
;
; https://github.com/agsb
; see the disclaimer file in this repo for more information.
;
; SectorForth and MilliForth was made for x86 arch
; and ... |
agsb/milliForth-6502 | 24,662 | stub/65C02/sector-65C02.s | ;----------------------------------------------------------------------
;
; A MilliForth for 65C02
;
; original for the 6502, by Alvaro G. S. Barcellos, 2023
;
; this one for 65C02
;
; https://github.com/agsb
; see the disclaimer file in this repo for more information.
;
; SectorForth and MilliForth was m... |
agsb/milliForth-6502 | 29,612 | stub/6502-hash/sector-6502.s | ;---------------------------------------------------------------------
;
; Copyright 2023 Alvaro Gomes Sobral Barcellos <@agsb>
;
; 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
; the Free Software Foundation, either version 2... |
AgoraIO-Usecase/HQ | 7,228 | libobs-for-HQ-Windows/deps/lzma/liblzma/check/crc32_x86.S | /*
* Speed-optimized CRC32 using slicing-by-eight algorithm
*
* This uses only i386 instructions, but it is optimized for i686 and later
* (including e.g. Pentium II/III/IV, Athlon XP, and Core 2). For i586
* (e.g. Pentium), slicing-by-four would be better, and even the C version
* of slicing-by-eight built with ... |
AgoraIO-Usecase/HQ | 6,761 | libobs-for-HQ-Windows/deps/lzma/liblzma/check/crc64_x86.S | /*
* Speed-optimized CRC64 using slicing-by-four algorithm
*
* This uses only i386 instructions, but it is optimized for i686 and later
* (including e.g. Pentium II/III/IV, Athlon XP, and Core 2).
*
* Authors: Igor Pavlov (original CRC32 assembly code)
* Lasse Collin (CRC64 adaptation of the modified CR... |
agural/FPGA-Oscilloscope | 10,074 | osc/software/osc/keyint.S | ################################################################################
# #
# Key Interrupt Handler #
# Rotary Encoder and Menu Button Routines ... |
agural/FPGA-Oscilloscope | 10,313 | osc/software/osc/sampleint.S | ################################################################################
# #
# sampleint.S #
# Handles new samples and triggering ... |
agural/FPGA-Oscilloscope | 2,525 | osc/software/osc/testvram.S | ################################################################################
# #
# VRAM Test Code #
# Test code for VRAM ... |
agural/FPGA-Oscilloscope | 13,240 | osc/software/osc/testadc.S | ################################################################################
# #
# ADC Test Code #
# Test code for ADC (requires display) ... |
agural/FPGA-Oscilloscope | 3,141 | osc/software/osc/testdisp.S | ################################################################################
# #
# Display Test Code #
# Test code for display ... |
agural/FPGA-Oscilloscope | 3,594 | osc/software/osc_bsp/HAL/src/alt_exception_trap.S | /******************************************************************************
* *
* License Agreement *
* *
... |
agural/FPGA-Oscilloscope | 4,685 | osc/software/osc_bsp/HAL/src/alt_irq_entry.S | /******************************************************************************
* *
* License Agreement *
* *
... |
agural/FPGA-Oscilloscope | 1,742 | osc/software/osc_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... |
agural/FPGA-Oscilloscope | 14,886 | osc/software/osc_bsp/HAL/src/alt_exception_entry.S | /******************************************************************************
* *
* License Agreement *
* *
... |
agural/FPGA-Oscilloscope | 21,315 | osc/software/osc_bsp/HAL/src/alt_exception_muldiv.S | /******************************************************************************
* *
* License Agreement *
* *
... |
agural/FPGA-Oscilloscope | 2,989 | osc/software/osc_bsp/HAL/src/alt_software_exception.S | /******************************************************************************
* *
* License Agreement *
* *
... |
agural/FPGA-Oscilloscope | 16,254 | osc/software/osc_bsp/HAL/src/crt0.S | /******************************************************************************
* *
* License Agreement *
* *
... |
agural/FPGA-Oscilloscope | 8,293 | osc/software/osc_bsp/HAL/src/alt_mcount.S | /******************************************************************************
* *
* License Agreement *
* *
... |
agural/FPGA-Oscilloscope | 5,245 | osc/software/osc_bsp/HAL/src/alt_ecc_fatal_entry.S | /******************************************************************************
* *
* License Agreement *
* *
... |
agural/FPGA-Oscilloscope | 6,366 | osc/Copy of software/keytest/keyint.S | ################################################################################
# #
# Key Interrupt Handler #
# Rotary Encoder and Menu Button Routines ... |
agural/FPGA-Oscilloscope | 1,624 | osc/Copy of software/osc/testvram.S | ################################################################################
# #
# VRAM Test Code #
# Test code for VRAM ... |
agural/FPGA-Oscilloscope | 3,594 | osc/Copy of software/keytest_bsp/HAL/src/alt_exception_trap.S | /******************************************************************************
* *
* License Agreement *
* *
... |
agural/FPGA-Oscilloscope | 4,685 | osc/Copy of software/keytest_bsp/HAL/src/alt_irq_entry.S | /******************************************************************************
* *
* License Agreement *
* *
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.