max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
MdePkg/Library/BaseLib/Ia32/WriteMm5.nasm | nicklela/edk2 | 3,861 | 55954 | ;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; WriteMm5.Asm
;
; Abstract:
;
; AsmWriteMm5 function
;
; Notes:
;
;-------------------... |
programs/oeis/346/A346865.asm | neoneye/loda | 22 | 55956 | ; A346865: Sum of divisors of the n-th hexagonal number.
; 1,12,24,56,78,144,112,360,234,360,384,672,434,960,720,992,864,1872,760,2352,1344,1584,1872,2880,1767,3024,2160,4032,2400,4320,1984,6552,4032,3672,4608,6552,2812,7440,5376,7200,5082,8064,4752,10080,7020,8064,6144
add $0,1
mul $0,2
bin $0,2
mov $2,$0
lpb $0
mo... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1198.asm | ljhsiun2/medusa | 9 | 55957 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rdx
lea addresses_normal_ht+0x5bf3, %r8
nop
mfence
mov $0x6162636465666768, %r15
movq %r15, %xmm6
vmovups %ymm6, (%r8)
nop
and $11504, %r8
pop %rdx
pop %r8
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
pus... |
add.asm | Willnoble83/SysProg-Assessment2 | 0 | 55958 |
_add: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "user.h"
int main() {
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %e... |
oeis/057/A057063.asm | neoneye/loda-programs | 11 | 55959 | ; A057063: Let P(n) of a sequence s(1),s(2),s(3),... be obtained by leaving s(1),...,s(n) fixed and reverse-cyclically permuting every n consecutive terms thereafter; apply P(2) to 1,2,3,... to get PS(2), then apply P(3) to PS(2) to get PS(3), then apply P(4) to PS(3), etc. The limit of PS(n) is A057063.
; Submitted by... |
basic/src/system/tokeniser.asm | paulscottrobson/eris | 13 | 55960 | <reponame>paulscottrobson/eris
; *****************************************************************************
; *****************************************************************************
;
; Name: tokeniser.asm
; Purpose: Coloured ASCII -> Tokenised code
; Created: 12th March 2020
; Reviewed: 17th March 2020
... |
oeis/055/A055225.asm | neoneye/loda-programs | 11 | 55961 | ; A055225: a(n) = Sum_{k divides n} (n/k)^k.
; 1,3,4,9,6,24,8,41,37,68,12,258,14,192,384,593,18,1557,20,2794,2552,2192,24,16730,3151,8388,20440,35394,30,116474,32,135457,178512,131396,94968,1111035,38,524688,1596560,2530986,42,7280934,44,8403778,16364502,8389184,48,78568370,823593,43420733,129145128,134247018,54,532253... |
oeis/134/A134432.asm | neoneye/loda-programs | 11 | 55962 | ; A134432: Sum of entries in all the arrangements of the set {1,2,...,n} (to n=0 there corresponds the empty set).
; 0,1,9,66,490,3915,34251,328804,3452436,39456405,488273005,6510306726,93097386174,1421850988831,23105078568495,398118276872520,7251440043035176,139227648826275369,2810658160680434001,59519819873232720010,... |
RustPkg/Library/IntrinsicLib/Ia32/MathRShiftU64.nasm | makubacki/mu_basecore | 9 | 55963 | <reponame>makubacki/mu_basecore<gh_stars>1-10
;------------------------------------------------------------------------------
;
; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; MathRShiftU64.nasm
;
; Abstract:
;
; 64-bit Math Worke... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1590.asm | ljhsiun2/medusa | 9 | 55966 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x17f62, %rbx
nop
nop
nop
cmp %rdi, %rdi
movb $0x61, (%rbx)
nop
nop
sub %r13, %r13
lea addresses_WC_ht+0x12862, %rcx
add %r14, %r14
movb $0x61, (%rcx)
nop
nop
nop
nop
add %rdi, %rdi
lea ... |
apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_uscia0_uart_05_9600.asm | tp-freeforall/breakfast | 1 | 55967 | <gh_stars>1-10
;*******************************************************************************
; MSP430x24x Demo - USCI_A0, Ultra-Low Pwr UART 9600 Echo ISR, 32kHz ACLK
;
; Description: Echo a received character, RX ISR used. Normal mode is LPM3,
; USCI_A0 RX interrupt triggers TX Echo.
; ACLK = BRCLK = L... |
programs/oeis/064/A064405.asm | neoneye/loda | 22 | 55968 | ; A064405: Number of even entries (A048967) minus the number of odd entries (A001316) in row n of Pascal's triangle (A007318).
; -1,-2,-1,-4,1,-2,-1,-8,5,2,3,-4,5,-2,-1,-16,13,10,11,4,13,6,7,-8,17,10,11,-4,13,-2,-1,-32,29,26,27,20,29,22,23,8,33,26,27,12,29,14,15,-16,41,34,35,20,37,22,23,-8,41,26,27,-4,29,-2,-1,-64,61,5... |
smsq/spp/poll.asm | olifink/smsqe | 0 | 55969 | ; SER polling routine V2.10 1999 <NAME>
; 2005-10-10 2.11 direct suppression if not still counting (MK)
section spp
xdef spp_poll
include 'dev8_keys_buf'
include 'dev8_keys_serparprt'
;+++
; SER polling routine
; This checks all the ser ports for a carrier detect timout.
; If there is one, it checks it.
... |
audio/engine_2.asm | opiter09/ASM-Machina | 1 | 55970 | ; The second of three duplicated sound engines.
; This copy has a few differences relating to battle sound effects
; and the low health alarm that plays in battle
Audio2_UpdateMusic::
ld c, Ch1
.loop
ld b, 0
ld hl, wChannelSoundIDs
add hl, bc
ld a, [hl]
and a
jr z, .nextChannel
ld a, c
cp Ch5
jr nc, .applyAf... |
programs/oeis/204/A204439.asm | neoneye/loda | 22 | 55971 | <filename>programs/oeis/204/A204439.asm
; A204439: Symmetric matrix: f(i,j)=((i+j+2)^2 mod 3), by (constant) antidiagonals.
; 1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,... |
oeis/189/A189162.asm | neoneye/loda-programs | 11 | 55972 | ; A189162: The maximum possible value for the apex of a triangle of numbers whose base consists of a permutation of the numbers 1 to n, and each number in a higher row is the sum of the two numbers directly below it.
; Submitted by <NAME>
; 1,3,9,24,61,148,350,808,1837,4116,9130,20056,43746,94760,204188,437712,934525,1... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1552.asm | ljhsiun2/medusa | 9 | 55974 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1a13b, %rcx
nop
nop
nop
add $65092, %r13
mov (%rcx), %r14
nop
and $17525, %r9
lea addresses_A_ht+0xe886, %rsi
lea addresses_D_ht+0xf9a, %rdi
nop
nop
nop
no... |
oeis/059/A059246.asm | neoneye/loda-programs | 11 | 55975 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A059246: Numerator of Sum_{j=1..n} d(j)/n, where d = number of divisors function (A000005).
; Submitted by <NAME>
; 1,3,5,2,2,7,16,5,23,27,29,35,37,41,3,25,52,29,60,33,10,37,76,7,87,7,95,101,103,37,113,119,41,127,131,35,142,73,50,79,160,4,170,4,182,93,4,33,201,207,211,2... |
programs/oeis/314/A314161.asm | karttu/loda | 0 | 55976 | ; A314161: Coordination sequence Gal.4.140.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,11,16,22,28,33,39,44,49,55,60,66,72,77,83,88,93,99,104,110,116,121,127,132,137,143,148,154,160,165,171,176,181,187,192,198,204,209,215,2... |
programs/oeis/133/A133095.asm | neoneye/loda | 22 | 55977 | <reponame>neoneye/loda
; A133095: Row sums of triangle A133094.
; 1,4,9,20,43,90,185,376,759,1526,3061,6132,12275,24562,49137,98288,196591,393198,786413,1572844,3145707,6291434,12582889,25165800,50331623,100663270,201326565,402653156,805306339,1610612706,3221225441,6442450912,12884901855,25769803742,51539607517,1030792... |
src/cap.asm | networkfusion/neon64 | 0 | 55978 | <reponame>networkfusion/neon64<filename>src/cap.asm
; Screen capture 64
; t0: screen height (pixels)
; t1: target ROM location
; wastes s8 and t2 regs
; Format of buffer:
; 0-1: "AG" ; check code (my initials...)
; 2-3: height
; 4-5: width
; 6-7: c... |
libsrc/stdio/ansi/bee/f_ansi_bel.asm | grancier/z180 | 0 | 55979 | ;
; ANSI Video handling for the MicroBEE
;
; BEL - chr(7) Beep it out
;
;
; <NAME> - 2016
;
;
; $Id: f_ansi_bel.asm,v 1.2 2016/11/17 09:39:03 stefano Exp $
;
SECTION code_clib
PUBLIC ansi_BEL
; A fine double frequency beep for BEL
.ansi_BEL
xor a
.BEL_LENGHT
ld b,70
ld ... |
oeis/120/A120145.asm | neoneye/loda-programs | 11 | 55980 | <filename>oeis/120/A120145.asm<gh_stars>10-100
; A120145: a(1)=20; a(n)=floor((41+sum(a(1) to a(n-1)))/2).
; Submitted by <NAME>
; 20,30,45,68,102,153,229,344,516,774,1161,1741,2612,3918,5877,8815,13223,19834,29751,44627,66940,100410,150615,225923,338884,508326,762489,1143734,1715601,2573401,3860102,5790153,8685229,130... |
programs/oeis/022/A022145.asm | jmorken/loda | 1 | 55981 | ; A022145: Coordination sequence for root lattice B_3.
; 1,18,74,170,306,482,698,954,1250,1586,1962,2378,2834,3330,3866,4442,5058,5714,6410,7146,7922,8738,9594,10490,11426,12402,13418,14474,15570,16706,17882,19098,20354,21650,22986,24362,25778,27234,28730,30266,31842,33458,35114,36810,38546,40322,42138,43994,45890,4782... |
programs/oeis/007/A007661.asm | jmorken/loda | 1 | 55982 | <gh_stars>1-10
; A007661: Triple factorial numbers a(n) = n!!!, defined by a(n) = n*a(n-3), a(0) = a(1) = 1, a(2) = 2. Sometimes written n!3.
; 1,1,2,3,4,10,18,28,80,162,280,880,1944,3640,12320,29160,58240,209440,524880,1106560,4188800,11022480,24344320,96342400,264539520,608608000,2504902400,7142567040,17041024000,726... |
tests/lr35902/LR35902_specifics_exercise.asm | fengjixuchui/sjasmplus | 220 | 55984 | <filename>tests/lr35902/LR35902_specifics_exercise.asm
;; test to exercise instructions which are not Z80-identical into greater depth
;; focus is mostly on IDA syntax variants, the goal is to have it thoroughly tested
OPT --syntax=abf ; but this is expected "default" mode of syntax for new sources
;; example m... |
programs/oeis/311/A311426.asm | neoneye/loda | 22 | 55985 | <reponame>neoneye/loda<gh_stars>10-100
; A311426: Coordination sequence Gal.6.115.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,4,8,12,17,21,25,29,33,38,42,46,50,54,58,62,67,71,75,79,83,88,92,96,100,104,108,112,117,121,125,129,... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_1208.asm | ljhsiun2/medusa | 9 | 55986 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x19911, %rsi
lea addresses_D_ht+0xb309, %rdi
clflush (%rsi)
nop
nop
nop
nop
cmp %rbp, %rbp
mov $2, %rcx
rep movsq
nop
nop
add $57439, %r15
lea addresses_UC_ht+0x13911, %rsi
l... |
project/win32kstub/i386/10_0_15063_sp0_shadowssdt_sysenter.asm | rmusser01/windows-syscall-table | 6 | 55988 | ; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; shadowssdt asm stub for 10.0.15063-sp0-windows-10-rs2-1703 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtUserGetOwnerTransformedMonitorRect( ULONG arg_01 , ULONG arg_02 , U... |
libsrc/math/genmath/div14.asm | andydansby/z88dk-mk2 | 1 | 55989 | ;
; Z88dk Generic Floating Point Math Library
;
; Find exponent for product (l=0) or quotient(l=ff)
;
; $Id: div14.asm,v 1.1 2008/07/27 21:44:57 aralbrec Exp $:
XLIB div14
LIB unpack
LIB norm4
XREF FA
.DIV14 LD A,B
OR A
JR Z,DIV20
LD A,L ;g... |
Kernel/asm/lockSem.asm | tferrerITBA/ARQ_OS | 0 | 55990 |
section .text
global lockSemAndShowPrevState
lockSemAndShowPrevState:
push rbp
mov rbp, rsp
mov rax, [rdi] ; rdi is the sem address
dec rax ; new sem value after locking (sem-1)
xchg [rdi], rax
_exit:
mov rsp, rbp
pop rbp
ret ; returns
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1884.asm | ljhsiun2/medusa | 9 | 55991 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xdd9, %rbx
nop
nop
cmp $6960, %rax
mov $0x6162636465666768, %r10
movq %r10, (%rbx)
nop
nop
cmp $45422, %r14
lea addresses_normal_ht+0x4591, %r12
nop
nop
no... |
release/src-rt-6.x.4708/router/gmp/mpn/arm/udiv.asm | afeng11/tomato-arm | 5 | 55993 | <filename>release/src-rt-6.x.4708/router/gmp/mpn/arm/udiv.asm
dnl ARM mpn_udiv_qrnnd -- divide a two limb dividend and a one limb divisor.
dnl Return quotient and store remainder through a supplied pointer.
dnl Copyright 2001, 2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dn... |
Library/PlatformSecLib/Ia32/Flat32.asm | feizwang/QUARKFSP | 7 | 55994 | ;------------------------------------------------------------------------------
;
; Copyright (c) 2013-2016 Intel Corporation.
;
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full text of the ... |
HC6502/EEPROM_Programmer/stm8/software/test/led/main.asm | wuxx/HC6502 | 16 | 55995 | <filename>HC6502/EEPROM_Programmer/stm8/software/test/led/main.asm
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.5.0 #9253 (Mar 28 2016) (Linux)
; This file was generated Mon Dec 3 17:37:04 2018
;-----------------------------------------... |
intervals/root.asm | reenigne/reenigne | 92 | 55996 | list p=12f508
#include "P12F508.INC"
#define length 0
bit0 EQU 4
bit1 EQU 5
bit2 EQU 0
bit3 EQU 1
highAll EQU 3fh
low0 EQU 2fh
low1 EQU 1fh
low2 EQU 3eh
low3 EQU 3dh
lengthLow EQU 07h
lengthMiddle EQU 08h
lengthHigh EQU 09h
parentAxis EQU 0ah
switch EQU 0bh
childBabsent ... |
Transynther/x86/_processed/NONE/_un_xt_/i7-7700_9_0x48_notsx.log_21829_1502.asm | ljhsiun2/medusa | 9 | 55997 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14328, %rsi
lea addresses_D_ht+0x14fe0, %rdi
nop
nop
xor %r13, %r13
mov $122, %rcx
rep movsw
nop
nop
dec %r12
lea addresses_UC_ht+0x88eb, %rbp
nop
nop
nop
nop
add $18559, %r13... |
x86_64/src/07-bitshift.nasm | karng87/nasm_game | 0 | 55998 | section .data
var1: dq 0x_1111_1111_1111_1111
var2: dq 0
section .bss
section .text
global main
main:
;; bit
mov rax, 0x0000_0000_ffff_ffff
sal rax, 32
sal rax, 1
clc
mov rax, 0x_0000_0000_ffff_ffff
shr rax, 1
shr rax, 31
clc
... |
programs/oeis/195/A195549.asm | neoneye/loda | 22 | 55999 | <reponame>neoneye/loda
; A195549: Hypotenuses of primitive Pythagorean triples in A195547 and A195548.
; 1,5,13,17,89,233,305,1597,4181,5473,28657,75025,98209,514229,1346269,1762289,9227465,24157817,31622993,165580141,433494437,567451585,2971215073,7778742049,10182505537,53316291173,139583862445,182717648081
seq $0,48... |
pwnlib/shellcraft/templates/arm/linux/open.asm | IMULMUL/python3-pwntools | 325 | 56000 | <%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="file, oflag, vararg"/>
<%docstring>
Invokes the syscall open. See 'man 2 open' for more information.
Arguments:
file(char): file
oflag(int): oflag
vararg(int): vararg
</%docstring>
${syscall('SYS_open', file, oflag, vararg)}
|
nabla/findmax.asm | rec0de/RO18 | 0 | 56001 | <gh_stars>0
.data
array: .word 6, 17, 52, 13, 0, 14, 55, 42
array_length: .word 8
result: .word 0
.text
main:
la $a0, array
la $a1, array_length
lw $a1, 0($a1)
jal max
la $t0, result
sw $v0, 0($t0)
j exit
max:
addi $t0, $0, 1
lw $v0, 0($a0)
loop:
sll $t1, $t0, 2
add $t1, $t1, $a0
lw $t2, 0($t1)
ble $t2, $v0, skip
add... |
libsrc/stdio_new/fd/pollfd.asm | meesokim/z88dk | 8 | 56002 | <reponame>meesokim/z88dk
; CALLER linkage for function pointers
PUBLIC pollfd
EXTERN pollfd_callee
EXTERN ASMDISP_POLLFD_CALLEE
.pollfd
pop de
pop bc
pop hl
push hl
push bc
push de
jp pollfd_callee + ASMDISP_POLLFD_CALLEE
|
exercises/exercise3/boot.asm | Dark15/assembly | 1 | 56003 | <gh_stars>1-10
mov word [data], 0x2008
xor byte [data], 0x05
add word [data], 0x0101
mov ax, [data]
data db 0, 0
jmp $
times 510 - ($ - $$) db 0
db 0x55,0xaa |
source/basic.asm | paulscottrobson/mega65-basic | 0 | 56004 | ; *******************************************************************************************
; *******************************************************************************************
;
; Name : basic.asm
; Purpose : Basic Main Program
; Date : 10th August 2019
; Author : <NAME> (<EMAIL>)
;
; **************... |
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_215.asm | ljhsiun2/medusa | 9 | 56006 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_215.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x86aa, %r12
nop
nop
nop
nop
nop
inc %rdi
mov (%r12), %si
nop
nop
nop
n... |
sources/square.asm | gpont/TSU_ASM | 0 | 56007 | <filename>sources/square.asm
global is_square
section .text
is_square:
mov rbx, 0
.next_num:
mov rax, rbx
mul rax
cmp rax, rdi
je .yes
ja .no
add rbx, 1
jmp .next_num
.no:
mov rax, 0
jmp .exit
.yes:
mov rax, 1
.exit:
ret |
programs/oeis/139/A139597.asm | neoneye/loda | 22 | 56008 | ; A139597: A139278(n) followed by A139274(n+1).
; 0,7,15,30,46,69,93,124,156,195,235,282,330,385,441,504,568,639,711,790,870,957,1045,1140,1236,1339,1443,1554,1666,1785,1905,2032,2160,2295,2431,2574,2718,2869,3021,3180,3340,3507,3675,3850
mov $2,$0
lpb $2
mov $3,$2
lpb $3
add $1,6
trn $3,2
lpe
add $1,$... |
oeis/098/A098387.asm | neoneye/loda-programs | 11 | 56009 | ; A098387: Prime(n)+Log2(n), where Log2=A000523.
; Submitted by <NAME>(s1)
; 2,4,6,9,13,15,19,22,26,32,34,40,44,46,50,57,63,65,71,75,77,83,87,93,101,105,107,111,113,117,131,136,142,144,154,156,162,168,172,178,184,186,196,198,202,204,216,228,232,234,238,244,246,256,262,268,274,276
add $0,1
mov $2,$0
sub $0,1
seq $0,40 ... |
oeis/021/A021145.asm | neoneye/loda-programs | 11 | 56011 | <reponame>neoneye/loda-programs
; A021145: Decimal expansion of 1/141.
; 0,0,7,0,9,2,1,9,8,5,8,1,5,6,0,2,8,3,6,8,7,9,4,3,2,6,2,4,1,1,3,4,7,5,1,7,7,3,0,4,9,6,4,5,3,9,0,0,7,0,9,2,1,9,8,5,8,1,5,6,0,2,8,3,6,8,7,9,4,3,2,6,2,4,1,1,3,4,7,5,1,7,7,3,0,4,9,6,4,5,3,9,0,0,7,0,9,2,1
add $0,1
mov $2,10
pow $2,$0
div $2,141
mov $0,$... |
data/pokemon/base_stats/snorlax.asm | opiter09/ASM-Machina | 1 | 56012 | db DEX_SNORLAX ; pokedex id
db 160, 110, 65, 30, 65
; hp atk def spd spc
db PSYCHIC_TYPE, PSYCHIC_TYPE ; type
db 25 ; catch rate
db 154 ; base exp
INCBIN "gfx/pokemon/front/snorlax.pic", 0, 1 ; sprite dimensions
dw SnorlaxPicFront, SnorlaxPicBack
db HEADBUTT, AMNESIA, REST, NO_MOVE ; level 1 learn... |
hello_world.asm | EdTheBass/asm_tutorial | 97 | 56013 | bits 64
default rel ; This allows compilation without /largeaddressaware:no
segment .data
dd 4
dd 4.4
times 10 dd 0 ; pseudo-op that allocated 10 dwords
dw 1, 2
db 0xfb
db "hello world", 0
a dq 175
b dq 4097
c dq 2
sum dq 0
segment .bss
res... |
Asm4Kids/8putitonthescreen.asm | jacmoe/c64adventures | 17 | 56014 | ; Puts a black spade on the screen
; 10 SYS (49152)
*=$0801
BYTE $0E, $08, $0A, $00, $9E, $20, $28, $34, $39, $31, $35, $32, $29, $00, $00, $00
*=$c000
jsr $e544 ; jump to subroutine 58692
lda #0 ; black
sta 55296 ; 1st color address
... |
PIC/Tester/Tester.asm | MrRomo/MrBootloader | 0 | 56015 |
_main:
;Tester.c,2 :: void main() {
;Tester.c,3 :: TRISA = 0x00;
CLRF TRISA+0
;Tester.c,4 :: TRISB = 0x00;
CLRF TRISB+0
;Tester.c,6 :: ANSEL = 0X00;
CLRF ANSEL+0
;Tester.c,7 :: ANSELH = 0X00;
CLRF ANSELH+0
;Tester.c,8 :: PORTA = 0x02;
MOVLW 2
MOVWF PORTA+0
;Tester.c... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_11768_882.asm | ljhsiun2/medusa | 9 | 56016 | <filename>Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_11768_882.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x16c20, %r14
nop
add %rax, %rax
mov $0x6162636465666768, %rdi
movq %rdi, %xmm2
vmovups %ym... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_2_17.asm | ljhsiun2/medusa | 9 | 56017 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1d610, %rdx
nop
nop
nop
nop
nop
sub %rdi, %rdi
movb $0x61, (%rdx)
nop
nop
nop
nop
sub %r15, %r15
lea addresses_WT_ht+0x14110, %r12
nop
nop
nop
nop
nop
and %r14, %r... |
m3-sys/m3cc/gcc/gcc/config/sh/lib1funcs.asm | RodneyBates/modula-3 | 2 | 56018 | <filename>m3-sys/m3cc/gcc/gcc/config/sh/lib1funcs.asm
/* Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006
Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
F... |
programs/oeis/163/A163491.asm | jmorken/loda | 1 | 56019 | <filename>programs/oeis/163/A163491.asm
; A163491: A fractal sequence (if we delete the first occurrence of n we get the sequence itself).
; 1,1,1,2,1,2,3,1,2,4,3,1,5,2,4,6,3,1,7,5,2,8,4,6,9,3,1,10,7,5,11,2,8,12,4,6,13,9,3,14,1,10,15,7,5,16,11,2,17,8,12,18,4,6,19,13,9,20,3,14,21,1,10,22,15,7,23,5,16,24,11,2,25,17,8,26,... |
install/lib/hardware/smartdrv.asm | minblock/msdos | 0 | 56020 | <reponame>minblock/msdos<gh_stars>0
;========================================================
COMMENT #
SMARTDRV.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Function returns the SMARTDRV version number if it's present ... |
args_and_return.asm | wang-zhuoran/MIPS | 0 | 56021 | .data
.text
main:
addi $a1, $zero, 50 # First argument
addi $a2, $zero, 100 # Second argument
jal addNumbers
# Print
li $v0, 1
addi $a0, $v1, 0
syscall
li $v0, 10
syscall
addNumbers:
add $v1, $a1, $a2 # v1 is by convention
jr $ra
|
programs/oeis/212/A212964.asm | karttu/loda | 1 | 56022 | <gh_stars>1-10
; A212964: Number of (w,x,y) with all terms in {0,...,n} and |w-x| < |x-y| < |y-w|.
; 0,0,0,2,6,14,26,44,68,100,140,190,250,322,406,504,616,744,888,1050,1230,1430,1650,1892,2156,2444,2756,3094,3458,3850,4270,4720,5200,5712,6256,6834,7446,8094,8778,9500,10260,11060,11900,12782,13706,14674,15686,16744,1784... |
Transynther/x86/_processed/P/_zr_/i3-7100_9_0xca_notsx.log_2089_1132.asm | ljhsiun2/medusa | 9 | 56023 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rax
push %rbx
push %rcx
push %rdi
lea addresses_D_ht+0x1de73, %r12
nop
nop
nop
nop
nop
and %r15, %r15
movw $0x6162, (%r12)
nop
cmp %rbx, %rbx
lea addresses_normal_ht+0x5873, %r13
clflush (%r13)
nop
sub %rbx, %rbx
... |
programs/oeis/195/A195143.asm | karttu/loda | 0 | 56024 | ; A195143: a(n) = n-th concentric 12-gonal number.
; 0,1,12,25,48,73,108,145,192,241,300,361,432,505,588,673,768,865,972,1081,1200,1321,1452,1585,1728,1873,2028,2185,2352,2521,2700,2881,3072,3265,3468,3673,3888,4105,4332,4561,4800,5041,5292,5545,5808,6073,6348,6625,6912,7201,7500,7801,8112,8425,8748,9073,9408,9745,1009... |
oeis/345/A345938.asm | neoneye/loda-programs | 11 | 56026 | ; A345938: a(n) = uphi(n) / gcd(n-1, uphi(n)), where uphi is unitary totient (or unitary phi) function, A047994.
; Submitted by <NAME>
; 1,1,1,1,1,2,1,1,1,4,1,6,1,6,4,1,1,8,1,12,3,10,1,14,1,12,1,2,1,8,1,1,5,16,12,24,1,18,12,28,1,12,1,30,8,22,1,30,1,24,16,12,1,26,20,42,9,28,1,24,1,30,24,1,3,4,1,48,11,8,1,56,1,36,24,18,1... |
Source/Levels/L1204.asm | AbePralle/FGB | 0 | 56027 | ; L1204.asm Escape from the space station
; Generated 05.02.2001 by mlevel
; Modified 05.02.2001 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level1204Gfx1",ROMX
;------------------------------------------------------... |
data/g++_binary_ok.asm | cr-marcstevens/hashtable_mystery | 0 | 56028 | <filename>data/g++_binary_ok.asm<gh_stars>0
./test_binary: file format elf64-x86-64
Disassembly of section .init:
Disassembly of section .plt:
Disassembly of section .text:
0000000000405900 <hash_table_ok>:
405900: f3 0f 1e fa endbr64
405904: 41 54 push %r12
405906: ba 00 00... |
exercises/asm-safhe34/maxnum.asm | amirshnll/assembly-exercises | 4 | 56029 | <gh_stars>1-10
include io.h
cr equ 10
lf equ 13
max equ 3
.model small
.stack 200h
.data
newline db cr,lf,0
number db 10 dup(?)
prompt1 db cr,lf,'enter the number : ',0
index db 1
result db 5 dup(?)
maximum dw ?
.code
maxnum proc
mov cx,3
mov ax,[bp]
mov maximum,ax
whiles:
mov d... |
oeis/004/A004294.asm | neoneye/loda-programs | 11 | 56031 | <reponame>neoneye/loda-programs<filename>oeis/004/A004294.asm
; A004294: Expansion of (1+2*x+x^2)/(1-34*x+x^2).
; 1,36,1224,41580,1412496,47983284,1630019160,55372668156,1881040698144,63900011068740,2170719335639016,73740557400657804,2505008232286726320,85096539340348037076,2890777329339546534264,9820133265820423412790... |
unittests/32Bit_ASM/X87/D9_F8.asm | cobalt2727/FEX | 628 | 56032 | <reponame>cobalt2727/FEX<filename>unittests/32Bit_ASM/X87/D9_F8.asm
%ifdef CONFIG
{
"RegData": {
"MM6": ["0x8666666666666666", "0x4000"],
"MM7": ["0xC000000000000000", "0x4000"]
},
"Mode": "32BIT"
}
%endif
lea edx, [data]
fld tword [edx + 8 * 0]
lea edx, [data2]
fld tword [edx + 8 * 0]
fprem
hlt
al... |
programs/oeis/186/A186422.asm | neoneye/loda | 22 | 56034 | <filename>programs/oeis/186/A186422.asm
; A186422: First differences of A186421.
; 1,1,-1,3,-1,3,-3,5,-3,5,-5,7,-5,7,-7,9,-7,9,-9,11,-9,11,-11,13,-11,13,-13,15,-13,15,-15,17,-15,17,-17,19,-17,19,-19,21,-19,21,-21,23,-21,23,-23,25,-23,25,-25,27,-25,27,-27,29,-27,29,-29,31,-29,31,-31,33,-31,33,-33,35,-33,35,-35,37,-35,37... |
lib/vz_crt0.asm | andydansby/z88dk-mk2 | 1 | 56035 | ; Startup for VZ200/300
;
; <NAME> - Apr. 2000
;
; If an error occurs eg break we just drop back to BASIC
;
; $Id: vz_crt0.asm,v 1.13 2010/08/02 12:58:03 stefano Exp $
;
MODULE vz_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
INCLUDE "zcc_opt.d... |
src/test/ref/library-constructor-1.asm | jbrandwood/kickc | 2 | 56037 | // Demonstrates Library Constructor Functionality
// #pragma constructor_for() declares named constructors for other symbols
// Commodore 64 PRG executable file
.file [name="library-constructor-1.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.... |
programs/oeis/242/A242399.asm | neoneye/loda | 22 | 56038 | ; A242399: Write n and 3n in ternary representation and add all trits modulo 3.
; Coded manually 2021-04-21 by <NAME>, https://github.com/neoneye
; 0,4,8,12,16,11,24,19,23,36,40,44,48,52,47,33,28,32,72,76,80,57,61,56,69,64,68,108,112,116,120,124,119,132,127,131,144,148,152,156,160,155,141,136,140,99,103,107,84,88,83,96... |
src/i386/ftol3.asm | avboy1337/ucxxrt | 130 | 56039 | page ,132
title ftol3 - truncate TOS to 32-bit integer
;/*
; * PROJECT: Universal C++ RunTime (UCXXRT)
; * FILE: ftol3.asm
; * DATA: 2021/04/25
; *
; * PURPOSE: Universal C++ RunTime
; *
; * LICENSE: Relicensed under The MIT License from The CC BY 4.0 License
; *
; * DEVELOPER: MiroKaku (<... |
oeis/242/A242854.asm | neoneye/loda-programs | 11 | 56040 | <filename>oeis/242/A242854.asm<gh_stars>10-100
; A242854: a(n) = 512*n^9 - 1024*n^7 + 672*n^5 - 160*n^3 + 10*n.
; Submitted by <NAME>
; 0,10,151316,7997214,118118440,922080050,4878316860,19828978246,66593931344,193501094490,501827040100,1187422368110,2605282707576,5365498355074,10470873504140,19508549760150,34910198169... |
programs/oeis/008/A008401.asm | jmorken/loda | 1 | 56041 | ; A008401: Coordination sequence for {E_6}* lattice.
; 1,54,828,5202,20376,60030,146484,312858,605232,1084806,1830060,2938914,4530888,6749262,9763236,13770090,18997344,25704918,34187292,44775666,57840120,73791774,93084948,116219322,143742096,176250150,214392204,258870978,310445352,369932526,438210180,516218634,60496300... |
ugbc/src/hw/msx1/scancode.asm | spotlessmind1975/ugbasic | 10 | 56042 | <gh_stars>1-10
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <NAME> (<EMAIL>)
; *
; * Licensed u... |
oeis/233/A233907.asm | neoneye/loda-programs | 11 | 56043 | <filename>oeis/233/A233907.asm
; A233907: 9*binomial(7*n+9, n)/(7*n+9).
; Submitted by <NAME>
; 1,9,99,1218,16065,222138,3178140,46656324,698868216,10639125640,164128169205,2560224004884,40314178429707,639948824981928,10230035192533800,164541833894991240,2660919275605834701,43239781879996449825,705687913212419321800,11... |
Examples_relative/relaErrors.asm | CONCORDIASOEN341/CrossCompiler | 0 | 56044 | ; relaErrors.asm - Possible errors in relative instructions.
lda.i16 Msg1 ; Error: Msg1 label not found (or defined).
ldc.i8 128 ; Error: Operand number not in an i8 range [-128..+127].
lda.i16 0 ; Error: Operand must refer to a label.
br.i8 1 ; Error: ... |
Data/ships/Python.asm | TinfoilAsteroid/EliteNext | 9 | 56045 | ;\ -> &5BA1 \ Python = Type 12
Python: DB $05
DW $1900
DW PythonEdges
DB PythonEdgesSize
DB $00,$2A
DB PythonVertSize /6
DB PythonVertSize
... |
lista6/zad8_1.asm | dzazef/akiso | 0 | 56047 | section .data
scan: db "%lf", 0
print: db "%lf", 10, 0
section .bss
inp resb 8
section .text
global main
extern printf
extern scanf
main:
push inp
push scan
call scanf
finit ;moduł zmiennoprzecinkowy
fld qword [inp] ;st(0) = x
fldl2e ;st(1) = x | st(0) = log2(e)
fmulp ;st(0... |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx/zx_01_output_fzx_proc_move_down.asm | meesokim/z88dk | 0 | 56048 |
SECTION code_fcntl
PUBLIC zx_01_output_fzx_proc_move_down
EXTERN console_01_output_char_proc_move_down
EXTERN zx_01_output_fzx_proc_move_up_down
zx_01_output_fzx_proc_move_down:
; variable width fonts confuse the meaning of left, right, up, down movement
; so for fzx these movements are defined in terms of t... |
header/002/UOROM.asm | freem/nes_corelib | 16 | 56049 | ; UOROM: 256KB PRG-ROM + 8KB CHR-RAM
; http://bootgod.dyndns.org:7777/search.php?keywords=UOROM&kwtype=pcb
;------------------------------------------------------------------------------;
; UOROM mirroring is hardwired via solder pads.
; %0000 = Horizontal
; %0001 = Vertical
MIRRORING = %0001
; Mapper 002 (UOROM) iNES... |
software/pcx86/bdsrc/dev/clkdev.asm | fatman2021/basicdos | 59 | 56051 | <gh_stars>10-100
;
; BASIC-DOS Physical Clock Device Driver
;
; @author <NAME> <<EMAIL>>
; @copyright (c) 2020-2021 <NAME>
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
BIOSEQU equ 1
include macros.inc
include bios.inc
... |
hw5/init_polynomial_test.asm | Cyfurion/CSE220 | 0 | 56052 | .data
pair: .word 2 -3
p: .word 0
.text:
main:
la $a0, p
la $a1, pair
jal init_polynomial
#write test code
move $a0, $v0
li $v0, 1
syscall
li $v0, 10
syscall
.include "hw5.asm"
|
evolutionary-stone.asm | Sagiri/dawn-stone | 0 | 56053 | .include "config.s"
.include "labels.s"
.include "constants.s"
// -----------------------------------------------------------------------------
.gba
.thumb
.open inrom, outrom, 0x08000000
// -----------------------------------------------------------------------------
.org free_space
.align 2
stonecheck:
@@main:... |
oeis/141/A141853.asm | neoneye/loda-programs | 11 | 56054 | <reponame>neoneye/loda-programs<filename>oeis/141/A141853.asm<gh_stars>10-100
; A141853: Primes congruent to 6 mod 11.
; Submitted by <NAME>
; 17,61,83,127,149,193,281,347,457,479,523,677,743,787,809,853,919,941,1051,1117,1249,1381,1447,1579,1601,1667,1733,1777,1931,1997,2063,2129,2239,2371,2393,2437,2459,2503,2591,265... |
src/third_party/nasm/test/vmread.asm | Mr-Sheep/naiveproxy | 2,219 | 56055 | <filename>src/third_party/nasm/test/vmread.asm
;Testname=test; Arguments=-fbin -ovmread.bin; Files=stdout stderr vmread.bin
bits 32
vmread dword [0], eax
vmwrite eax, dword [0]
vmread [0], eax
vmwrite eax, [0]
bits 64
vmread qword [0], rax
vmwrite rax, qword [0]
vmread [0], rax
vmwrite rax, [0]
%ifdef ERRO... |
libsrc/_DEVELOPMENT/l/sdcc/____sdcc_4_copy_srcd_hlix_dst_deix.asm | jpoikela/z88dk | 640 | 56056 | <gh_stars>100-1000
SECTION code_clib
SECTION code_l_sdcc
PUBLIC ____sdcc_4_copy_srcd_hlix_dst_deix
____sdcc_4_copy_srcd_hlix_dst_deix:
IFDEF __SDCC_IX
push ix
ELSE
push iy
ENDIF
ex (sp),hl
add hl,de
ex de,hl
pop hl
add hl,de
ldi
ldi
ldi
ld a,(hl)
ld (de),a
... |
src/commands/DoPrintStack.asm | jhm-ciberman/calculator-asm | 2 | 56058 | <filename>src/commands/DoPrintStack.asm
proc DoPrintStack
local size:DWORD
fastcall ArrayListSize, [_lg_stack]
mov [size], eax
cmp eax, 0
je .empty_stack
.while:
cmp [size], 0
jle .endwhile
dec [size]
fastcall ArrayListGet, [_lg_stack], [size]
fastcall Prin... |
forth.asm | bademux/stm8ef | 0 | 56059 | <filename>forth.asm
; STM8EF for STM8S (Value line and Access Line devices)
;
; This is derived work based on
; http://www.forth.org/svfig/kk/07-2010.html
;
; Please refer to LICENSE.md for more information.
;
;--------------------------------------------------------
; Original author, and copyright:
; STM8EF, Ve... |
src/test/cpp/raw/smp/build/smp.asm | cbrune/VexRiscv | 1,524 | 56060 |
build/smp.elf: file format elf32-littleriscv
Disassembly of section .crt_section:
80000000 <_start>:
80000000: f1402473 csrr s0,mhartid
80000004: f80002b7 lui t0,0xf8000
80000008: f1402373 csrr t1,mhartid
8000000c: 01031313 slli t1,t1,0x10
80000010: 006282b3 add... |
src/exec/parse.asm | szapp/Ninja | 17 | 56061 | ; Executive code for modified parsing
global parser_check_func
parser_check_func:
resetStackoffset 0xA4
xor eax, eax
mov ecx, DWORD [zCParser__enableParsing] ; Check if wrapped by Ninja
cmp ecx, 0x2A
jnz .back
lea ecx, [esp+stackoff... |
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xca_notsx.log_21829_956.asm | ljhsiun2/medusa | 9 | 56062 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xf5c3, %r15
clflush (%r15)
nop
nop
nop
nop
add %r14, %r14
mov $0x6162636465666768, %rdx
movq %rdx, %xmm3
vmovups %ymm3, (%r15)
nop
sub %rbp, %rbp
lea addresses_A_ht+0x34b2, %... |
programs/oeis/172/A172117.asm | karttu/loda | 0 | 56063 | <filename>programs/oeis/172/A172117.asm
; A172117: a(n) = n*(n+1)*(20*n-17)/6.
; 0,1,23,86,210,415,721,1148,1716,2445,3355,4466,5798,7371,9205,11320,13736,16473,19551,22990,26810,31031,35673,40756,46300,52325,58851,65898,73486,81635,90365,99696,109648,120241,131495,143430,156066,169423,183521,198380,214020,230461,24772... |
oeis/001/A001453.asm | neoneye/loda-programs | 11 | 56064 | <filename>oeis/001/A001453.asm<gh_stars>10-100
; A001453: Catalan numbers - 1.
; 1,4,13,41,131,428,1429,4861,16795,58785,208011,742899,2674439,9694844,35357669,129644789,477638699,1767263189,6564120419,24466267019,91482563639,343059613649,1289904147323,4861946401451,18367353072151,69533550916003,263747951750359,1002242... |
source/command/graphics/ellipse.asm | mega65dev/rom-assembler | 0 | 56065 | <filename>source/command/graphics/ellipse.asm
; ********************************************************************************************
; ********************************************************************************************
;
; Name : ellipse.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated :... |
oeis/341/A341330.asm | neoneye/loda-programs | 11 | 56067 | <filename>oeis/341/A341330.asm
; A341330: a(n) = Sum_{k=1..n} (-k)^(k+1).
; Submitted by <NAME>
; 1,-7,74,-950,14675,-265261,5499540,-128718188,3358066213,-96641933787,3041786442934,-103951418936138,3833424966763151,-151734670591049073,6416673685121841552,-288731231494230984304,13774353220573494006705,-6944609921347641... |
Supinfo/B1/Rebond/CadreCarreCollision.asm | sheplu/Misc | 0 | 56068 | org 100h
; initialisation chrono:
JMP Programme ; saut au programme principal
;////////////// PROCEDURES \\\\\\\\\\\\\\
; ||| gestion des collisions |||
BD_Coll PROC ; condition bordure lo... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_844.asm | ljhsiun2/medusa | 9 | 56069 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xc1, %r13
nop
nop
nop
xor %r10, %r10
mov $0x6162636465666768, %rbx
movq %rbx, (%r13)
nop
add $16715, %r13
lea addresses_WC_ht+0x17635, %r13... |
win32_hw.asm | rgimad/fasm_programs | 8 | 56070 | <reponame>rgimad/fasm_programs<filename>win32_hw.asm
format PE console
entry main
include 'win32ax.inc'
section '.data' data readable writeable
msg db "hello world!",0
p db "pause>nul",0
section '.code' code readable executable
main:
push ebp
mov ebp,esp
sub ebp,4
mov dword [esp],msg
call [printf]
mov dword [esp],p
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.