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 |
|---|---|---|---|---|
Breakout/TocaSonsJogo.asm | GugaH13/atari-breakout | 0 | 127076 | <filename>Breakout/TocaSonsJogo.asm
Parede proc
push eax
push ebx
push ecx
push edx
invoke Load_wav,TEXT_("walls.wav"),addr g_pDSWavSample
.if (g_pDSWavSample != 0)
; só copia, é p rodar em outras threads
coinvoke g_pDSWavSample,IDirectSoundBuffer8,SetCurrentPositi... |
8088/cga/comb_filter/dither.asm | reenigne/reenigne | 92 | 127077 | <reponame>reenigne/reenigne
; %include "../../defaults_bin.asm"
cpu 8086
org 0x100
; Set graphics mode
mov ax,6
int 0x10
mov al,0x1a
mov dx,0x3d8
out dx,al
; mov al,0x0f
; mov dx,0x3d9
; out dx,al
mov ax,0xb800
mov es,ax
mov ds,ax
xor di,di
mov al,0
mov cx,16
yLoop2:
push cx
mov... |
4-Hello6502andTIA.asm | TheRealCatherine/MakingGamesForAtari2600-MADS | 0 | 127078 | ; @com.wudsn.ide.asm.hardware=ATARI2600
; The above comment signals to the WUDSN IDE the platform we are using
; if not using this IDE you can safely remove it.
; Include files for Atari 2600 constants and handy macro routines
icl "vcs.asm"
; The MADS Assembler offers many options and features beyond DASM
; This i... |
src/Project7/SimpleAdd.asm | HSU-S21-CS243/p07-starter | 0 | 127079 | <gh_stars>0
@7 //PUSH CONSTANT
D=A
@SP
A=M
M=D
@SP
M=M+1
@8 //PUSH CONSTANT
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP //begin ADD command
M=M-1
A=M
D=M
@SP
M=M-1
A=M
D=D+M
@SP
A=M
M=D
@SP
M=M+1 //end ADD command
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca.log_21829_206.asm | ljhsiun2/medusa | 9 | 127080 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x6ab3, %rcx
sub $27043, %r9
mov $0x6162636465666768, %r8
movq %r8, %xmm0
vmovups %ymm0, (%rcx)
nop
nop
nop
nop
nop
sub $3871, %r15
lea addre... |
Library/Text/Text/textScrollOneLine.asm | steakknife/pcgeos | 504 | 127081 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: textScrollOneLine.asm
AUTHOR: <NAME>, Feb 26, 1992
ROUTINES:
Name Description
---- -----------
REVIS... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_18482_971.asm | ljhsiun2/medusa | 9 | 127082 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x9d70, %r14
nop
nop
nop
nop
inc %r15
vmovups (%r14), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $0, %xmm1, %r8
nop
nop
nop
sub $63081, %rdi
lea addres... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_31_1168.asm | ljhsiun2/medusa | 9 | 127083 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xb6ad, %r15
nop
nop
nop
and %rcx, %rcx
movb $0x61, (%r15)
nop
nop
nop
nop
nop
xor %r10, %r10
lea addresses_WC_ht+0xcf0d, %rcx
nop
nop
and $1331, %rax
movb $0x61, (%... |
src/installer/corehost/cli/ijwhost/i386/asmhelpers.asm | abock/runtime | 6 | 127084 | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
.586
.model flat
include callconv.inc
option casemap:none
.code
EXTERN _s... |
oeis/071/A071768.asm | neoneye/loda-programs | 11 | 127085 | ; A071768: Determinant of the n X n matrix whose element (i,j) equals |i-j| (Mod 3).
; Submitted by <NAME>(w4)
; 0,-1,4,9,-10,4,18,-19,4,27,-28,4,36,-37,4,45,-46,4,54,-55,4,63,-64,4,72,-73,4,81,-82,4,90,-91,4,99,-100,4,108,-109,4,117,-118,4,126,-127,4,135,-136,4,144,-145,4,153,-154,4,162,-163,4,171,-172,4,180,-181,4,18... |
programs/oeis/006/A006230.asm | neoneye/loda | 22 | 127087 | <reponame>neoneye/loda
; A006230: Bitriangular permutations.
; 1,13,73,301,1081,3613,11593,36301,111961,342013,1038313,3139501,9467641,28501213,85700233,257493901,773268121,2321377213,6967277353,20908123501,62736953401,188236026013,564758409673,1694375892301,5083329003481,15250389663613,45751974297193,137257533504301,4... |
assembly_programs/mult.asm | MarkoVMicic/nand2tetris-solutions | 0 | 127088 | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME> Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
// Put your code here.
... |
programs/oeis/183/A183218.asm | jmorken/loda | 1 | 127089 | <filename>programs/oeis/183/A183218.asm
; A183218: Complement of the hexagonal numbers.
; 2,3,4,5,7,8,9,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,... |
echo hex.asm | hwreverse/PC-G850V | 7 | 127090 | <filename>echo hex.asm
10 ORG 100H
20 JP MAIN
30INKEY EQU 089BEH
35PUTCHR EQU 08440H
40INITSR EQU 0871AH
50OPENSR EQU 0BCE8H
60CLOSSR EQU 0BCEBH
70LRDSR EQU 0BD15H
80WAITK EQU 0BFCDH
90WSTSR EQU 0BFB2H
100MAIN: CALL INITSR
110 CALL OPENSR
115 CALL CLS
120 LD IX, L2
130 LD B, 4
140 LD HL, L1
150LOOP: LD A, (IX)
160 CALL... |
lab08.asm | m-ross/cis225p8 | 0 | 127091 | TITLE lab08
; Programmer: <NAME>
; Due: 25 April, 2014
; Description: This serves as an external subprogram for the other lab 8 programs. A number from 0h to 63h must be in al. DispNum will display the number in al as a decimal number.
.MODEL SMALL
.386
;==========================
.CODE
PUBLIC DispNu... |
kernel/src/interrupt.asm | 0x2A/osdev | 1 | 127092 | [GLOBAL default_exception_handler]
[GLOBAL default_interrupt_handler]
[GLOBAL exception_handlers]
[GLOBAL pit_interrupt]
[GLOBAL spurious_interrupt]
[EXTERN g_pitTicks]
[EXTERN g_localApicAddr]
[EXTERN except_handler]
; -------------------------------------------------------------------------------------------------
... |
programs/oeis/137/A137399.asm | karttu/loda | 1 | 127095 | <reponame>karttu/loda
; A137399: a(n)=4a(n-4).
; 1,2,2,1,4,8,8,4,16,32,32,16,64,128,128,64,256,512,512,256,1024,2048,2048,1024,4096,8192,8192,4096,16384,32768,32768,16384,65536,131072,131072,65536,262144,524288,524288,262144,1048576,2097152,2097152,1048576,4194304
mov $1,2
cal $0,121496 ; Run lengths of successive num... |
libsrc/_DEVELOPMENT/l/sdcc/___sdcc_enter_ix.asm | jpoikela/z88dk | 640 | 127097 | <reponame>jpoikela/z88dk<gh_stars>100-1000
SECTION code_clib
SECTION code_l_sdcc
PUBLIC ___sdcc_enter_ix
___sdcc_enter_ix:
IF __SDCC_IX
ex (sp),ix
push ix
ld ix,2
add ix,sp
ret
ELSE
ex (sp),iy
push iy
ld iy,2
add iy,sp
ret
ENDIF
|
oeis/067/A067550.asm | neoneye/loda-programs | 11 | 127098 | ; A067550: a(n) = (n-1)!(n+2)!/(3*2^n).
; 1,2,10,90,1260,25200,680400,23814000,1047816000,56582064000,3677834160000,283193230320000,25487390728800000,2650688635795200000,315431947659628800000,42583312934049888000000,6472663565975582976000000,1100352806215849105920000000,207966680374795481018880000000,434650361983322555... |
llvm-3.5/lib/Target/X86/X86CompilationCallback_Win64.asm | randolphwong/mcsema | 58 | 127099 | ;;===-- X86CompilationCallback_Win64.asm - Implement Win64 JIT callback ---===
;;
;; The LLVM Compiler Infrastructure
;;
;; This file is distributed under the University of Illinois Open Source
;; License. See LICENSE.TXT for details.
;;
;;===---------------------------------------------------------... |
program/jal.asm | doowzs/BuggyOS | 7 | 127101 | <filename>program/jal.asm
xor $t0, $t0, $t0
jal test1
jal test2
test1:
addi $t0, $t0, 0x5
jr $ra
test2:
addi $t0, $t0, 0xa
jr $ra |
Mips/Studies/whileLoops.asm | otavreis/-Computer-Architecture-and-Organization | 1 | 127103 | # int i = 0
# while(i < 10){ i++; }
.data
message: .asciiz "After while loop is done"
space: .asciiz " "
.text
main:
addi $t0, $zero, 0 # i = 0
# You will need two labels, the while and exit
while:
bgt $t0, 10 , exit # if $t0 >= 10; Exit the while
jal printNumbe... |
ffight/lcs/enemy/4.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 127104 | copyright zengfr site:http://github.com/zengfr/romhack
003A0E movem.l D0-D3, -(A6)
003A12 move.w D4, ($4e,A6)
00411C clr.w ($4,A6)
004120 moveq #$0, D0
009ACA dbra D5, $9ac8
021DA8 move.b ($36,A6), ($2e,A6) [enemy+ 2, enemy+ 4]
021F8C rts [enemy+ 2, enemy+ 4]
022072 move.b #$2, ($4,A6) [enemy+1E... |
data/mon_palettes.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 127106 | MonsterPalettes:
db PAL_MONOCHROME ; MISSINGNO
db PAL_BULBASAUR
db PAL_IVYSAUR
db PAL_VENUSAUR
db PAL_CHARMANDER
db PAL_CHARMELEON
db PAL_CHARIZARD
db PAL_SQUIRTLE
db PAL_WARTORTLE
db PAL_BLASTOISE
db PAL_CATERPIE
db PAL_METAPOD
db PAL_BUTTERFREE
db PAL_WEEDLE
db PAL_KAKUNA
db PAL_BEEDRILL
db PAL_PI... |
oeis/142/A142780.asm | neoneye/loda-programs | 11 | 127108 | <filename>oeis/142/A142780.asm
; A142780: Primes congruent to 53 mod 59.
; Submitted by <NAME>
; 53,643,761,997,1823,2531,2767,3121,3593,3947,5009,5717,5953,6661,6779,7369,7487,7723,7841,8431,9257,10909,11027,11617,11971,13033,13151,13859,14449,15511,15629,16573,16691,16927,17989,18461,19051,19759,20113,20231,20939,215... |
ecdsa128/src/SHA1_src/src/sha1.asm | FloydZ/Crypto-Hash | 11 | 127109 | <gh_stars>10-100
.686p
.mmx
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
Trans_0 MACRO argument_1 , argument_2, argument_3, argument_4, argument_5, memory_ptr
mov esp, argument_1
mov edi, dword ptr [esi]
rol esp , 5
bswap edi
add argument_5, esp
mov memory_ptr, edi
mov esp,... |
Mid-Term/Solution/Answer No 5.asm | Audhora912/CSE331L-Section-1-Fall20-NSU | 0 | 127110 | <gh_stars>0
org 100h
DATA SEGMENT
A DB 1,1,2,2,3,3
B DB 6 DUP(0)
DATA ENDS
CODE SEGMENT
ASSUME DS:DATA; CS:CODE
START:
MOV AX, DATA
MOV DS, AX
MOV CL, 10
LEA BX, A
LEA SI, B
L1:MOV CH,BYTE PTR[BX]
MOV BYTE PTR[SI],CH
MOV DH,BYTE PTR[SI]
INC... |
oeis/326/A326714.asm | neoneye/loda-programs | 11 | 127111 | <reponame>neoneye/loda-programs
; A326714: a(n) = binomial(n,2) + (2-adic valuation of n).
; Submitted by <NAME>(l1)
; 0,2,3,8,10,16,21,31,36,46,55,68,78,92,105,124,136,154,171,192,210,232,253,279,300,326,351,380,406,436,465,501,528,562,595,632,666,704,741,783,820,862,903,948,990,1036,1081,1132,1176,1226,1275,1328,1378... |
projects/04/fill/Fill.asm | xwj1427698750/nand2tetris | 0 | 127112 | <filename>projects/04/fill/Fill.asm
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME> Schocken, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens ... |
oeis/025/A025901.asm | neoneye/loda-programs | 11 | 127113 | <filename>oeis/025/A025901.asm
; A025901: Expansion of 1/((1-x^6)(1-x^7)(1-x^12)).
; 1,0,0,0,0,0,1,1,0,0,0,0,2,1,1,0,0,0,2,2,1,1,0,0,3,2,2,1,1,0,3,3,2,2,1,1,4,3,3,2,2,1,5,4,3,3,2,2,6,5,4,3,3,2,7,6,5,4,3,3,8,7,6,5,4,3,9,8,7,6,5,4,10,9,8,7,6,5,11,10
mov $3,2
mov $5,$0
lpb $3
mov $0,$5
sub $3,1
add $0,$3
trn $0,1... |
stdlib/x64_start.asm | patrickf2000/lila | 1 | 127114 | <filename>stdlib/x64_start.asm
# For now, we just call the main function and
# pass parameters
.intel_syntax noprefix
.text
.globl _start
.extern main
_start:
xor ebp, ebp
mov esi, DWORD PTR [rsp+0]
lea rdi, 8[rsp]
call main
mov rdi, rax
mov rax, 60
syscall
|
apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_uscib1_i2c_06.asm | tp-freeforall/breakfast | 1 | 127115 | <filename>apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_uscib1_i2c_06.asm
;*******************************************************************************
; MSP430x24x Demo - USCI_B1 I2C Master TX single bytes to MSP430 Slave
;
; Description: This demo connects two MSP430's via the I2C bus. The ... |
programs/oeis/249/A249572.asm | neoneye/loda | 22 | 127116 | <reponame>neoneye/loda
; A249572: Least positive integer whose decimal digits divide the plane into n+1 regions. Equivalently, least positive integer with n holes in its decimal digits.
; 1,4,8,48,88,488,888,4888,8888,48888,88888,488888,888888,4888888,8888888,48888888,88888888,488888888,888888888,4888888888,8888888888,... |
test/test.zstr.lenq.asm | richRemer/atlatl | 0 | 127117 | global test_case
extern sys.error
extern zstr.lenq
section .text
test_case:
lea rax, [strq]
call zstr.lenq
cmp rax, 3
jnz .error
ret
.error:
mov rax, -1
call sys.error
section .data
strq: dq 0x1, 0x2, 0x3, 0x0
|
stuff/R316/old/lib/common.asm | Daswf852/Stuff | 0 | 127118 | <filename>stuff/R316/old/lib/common.asm
%ifndef __COMMON_ASM
%define __COMMON_ASM
%include "common"
%include "config.asm"
%macro pusha
push r0
push r1
push r2
push r3
push r4
push r5
%endmacro
%macro popa
pop r5
pop r4
pop r3
pop r2
pop r1
pop r0
%endmacro
%define TRU... |
src/win64.asm | xnko/libtask | 4 | 127119 | <reponame>xnko/libtask<gh_stars>1-10
IFDEF RAX
fix_and_swapcontext PROTO STDCALL :QWORD
.code
swapcontext PROC
push r8
push r9
push rdi
push rsi
push rbp
push rdx ; other
push rcx ; current
lea r8, gotback
mov r9, rsp
; without some stack padding someone overrides our values, no idea ... |
Driver/Stream/Filestr/filestrMain.asm | steakknife/pcgeos | 504 | 127120 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Stream Drivers -- FileStream driver
FILE: filestrMain.asm
AUTHOR: <NAME>, Jan 12, 1993
ROUTINES:
Name Description
---- -----------
RE... |
programs/oeis/040/A040955.asm | jmorken/loda | 1 | 127122 | ; A040955: Continued fraction for sqrt(987).
; 31,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2
mov $7,$0
mov $9,2
lpb $9
mov $0,$7
sub $9,1
add $0,$9
sub $0,1
mov $8,$0... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_784.asm | ljhsiun2/medusa | 9 | 127123 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1115d, %r10
nop
nop
nop
nop
add $12886, %rsi
mov $0x6162636465666768, %r12
movq %r12, %xmm0
movups %xmm0, (%r10)
nop
cmp $29020, %rbp
lea addresses_D_ht+0x765d, %r13... |
s3/music/Game Complete.asm | Cancer52/flamedriver | 9 | 127124 | <reponame>Cancer52/flamedriver<filename>s3/music/Game Complete.asm
Snd_PresSega_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_PresSega_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $10
smpsHeaderDAC Snd_PresSega_DAC
smpsHeaderFM Snd_PresSega_FM1, $0D, $10
smpsHeaderFM ... |
Testing/test_double.asm | DW0RKiN/M4_FORTH | 2 | 127125 | ; vvvvv
; ^^^^^
ORG 0x8000
; === b e g i n ===
ld (Stop+1), SP ; 4:20 init storing the original SP value when the "bye" word is used
ld L, 0x1A ; 2:7 init Upper screen
call 0x1605 ; 3:17 init Open channel
ld HL, 60000 ; 3:10 init Init Re... |
CodeExecution/Invoke-ReflectivePEInjection_Resources/Shellcode/x86/CallDllMain.asm | g-goessel/PowerSploit | 9,233 | 127126 | [SECTION .text]
global _start
_start:
; Get stack setup
push ebx
mov ebx, esp
and esp, 0xfffffff0
; Call DllMain
mov ecx, 0x41414141 ; DLLHandle, set by PowerShell
mov edx, 0x1 ; PROCESS_ATTACH
mov eax, 0x0 ; NULL
push eax
push edx
push ecx
mov eax, 0x41414141 ; Address of DllMain, set by PS
call ... |
libsrc/fcntl/dummy/writebyte.asm | grancier/z180 | 0 | 127127 | ; Dummy function to keep rest of libs happy
;
; $Id: writebyte.asm,v 1.5 2016/03/06 21:39:54 dom Exp $
;
SECTION code_clib
PUBLIC writebyte
PUBLIC _writebyte
.writebyte
._writebyte
ret
|
Assembler/AssemblyCode/MOV_BP_Y_Z.asm | KPU-RISC/KPU | 8 | 127128 | ; Store a value in register "BP"
MOV XL, 0xFF
MOV XH, 0xFF
MOV BP, X
; Store a value in register "Y"
MOV XL, 00001111b
MOV XH, 11110000b
MOV Y, X
; Store a value in register "Z"
MOV XL, 10001111b
MOV XH, 11110001b
MOV Z, X
; Write the register BP into the Output Port C
MOV X, BP
OUTB XL
; Write the register BP into... |
misc/cpcacid_src/cpcacid_cpcborder.asm | floooh/yakc | 106 | 127129 | ;; (c) Copyright <NAME> 2015-2016
;; This code is part of the Arnold emulator distribution.
;; This code is free to distribute without modification
;; this copyright header must be retained.
org &8000
km_wait_char equ &bb06
txt_output equ &bb5a
scr_set_mode equ &bc0e
scr_initialise equ &bbff
pen_swap equ &54 xor &4B
... |
P6/data_P6_2/MDTest193.asm | alxzzhou/BUAA_CO_2020 | 1 | 127130 | <reponame>alxzzhou/BUAA_CO_2020
ori $ra,$ra,0xf
mthi $4
addu $5,$5,$5
multu $3,$3
addu $1,$5,$6
sll $5,$5,12
sb $2,3($0)
addiu $3,$2,26011
divu $1,$ra
mfhi $4
mult $4,$2
sll $1,$1,2
srav $4,$2,$3
multu $4,$4
multu $2,$2
mtlo $4
mtlo $4
addu $5,$4,$4
lb $1,6($0)
addiu $5,$4,7091
ori $5,$5,40170
mult $1,$2
mfhi $4
mflo $... |
sk/music/LRZ1.asm | Cancer52/flamedriver | 9 | 127131 | <reponame>Cancer52/flamedriver
Snd_LRZ1_Header:
smpsHeaderStartSong 3
smpsHeaderVoiceUVB
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $26
smpsHeaderDAC Snd_LRZ1_DAC
smpsHeaderFM Snd_LRZ1_FM1, $0C, $09
smpsHeaderFM Snd_LRZ1_FM2, $0C, $01
smpsHeaderFM Snd_LRZ1_FM3, $0C, $03
s... |
programs/oeis/154/A154407.asm | karttu/loda | 1 | 127132 | ; A154407: a(n) = 5*2^(n-1) + 3*6^n/2.
; 4,14,64,344,1984,11744,70144,420224,2520064,15117824,90701824,544200704,3265183744,19591061504,117546287104,705277558784,4231665025024,25389989494784,152339935657984,914039611326464,5484237662715904
mov $4,$0
sub $0,$0
add $0,1
mov $1,5
mov $5,1
mov $7,1
mov $8,$4
add $8,$0
lpb... |
exampl07/shuflarr/unique_riched/txtfnd.asm | AlexRogalskiy/Masm | 0 | 127133 | <filename>exampl07/shuflarr/unique_riched/txtfnd.asm
; #########################################################################
TextFind proc lpBuffer:DWORD, len:DWORD
LOCAL tp :DWORD
LOCAL tl :DWORD
LOCAL sch:DWORD
LOCAL ft :FINDTEXT
LOCAL Cr :CHARRANGE
invoke SendMessage,hRichEd,WM_GETTEXT... |
common/src/si4010_rom_keil.a51 | rossjd/RBBT | 0 | 127134 | <reponame>rossjd/RBBT
;-------------------------------------------------------------------------------
; Silicon Laboratories, Inc.
; http://www.silabs.com
; Copyright 2010
;--------------------------------------------------------------... |
src/lib/gamepad.asm | trevormerritt/nes-starter-kit | 37 | 127137 | ;======================================================================================
; GAMEPAD DATA FLAGS
; 76543210
; ||||||||
; |||||||+--> A Button
; ||||||+---> B Button
; |||||+----> SELECT Button
; ||||+-----> START Button
; |||+------> UP Direction
; ||+-------> DOWN Direction
; |+--------> LEFT Dir... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_968.asm | ljhsiun2/medusa | 9 | 127138 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r14
push %rax
push %rbp
push %rcx
// Store
lea addresses_UC+0xdd41, %rbp
xor %r14, %r14
movb $0x51, (%rbp)
nop
nop
nop
nop
nop
sub $59527, %r10
// Faulty Load
mov $0xf53, %r12
nop
cmp $15608,... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_2608.asm | ljhsiun2/medusa | 9 | 127140 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xe06e, %r13
nop
nop
nop
nop
and %rcx, %rcx
movl $0x61626364, (%r13)
nop
nop
nop
xor $44215, %r8
lea addresses_D_ht+0x3054, %rsi
and %rbp, %rbp
movb $0x61, (%rsi)
cmp $23012, %r8
lea add... |
programs/oeis/279/A279079.asm | jmorken/loda | 1 | 127141 | <filename>programs/oeis/279/A279079.asm
; A279079: Maximum starting value of X such that repeated replacement of X with X-ceiling(X/9) requires n steps to reach 0.
; 0,1,2,3,4,5,6,7,8,10,12,14,16,19,22,25,29,33,38,43,49,56,64,73,83,94,106,120,136,154,174,196,221,249,281,317,357,402,453,510,574,646,727,818,921,1037,1167... |
oeis/053/A053638.asm | neoneye/loda-programs | 11 | 127142 | <filename>oeis/053/A053638.asm
; A053638: a(n) = ceiling(2^n/n).
; 2,2,3,4,7,11,19,32,57,103,187,342,631,1171,2185,4096,7711,14564,27595,52429,99865,190651,364723,699051,1342178,2581111,4971027,9586981,18512791,35791395,69273667,134217728,260301049,505290271,981706811,1908874354,3714566311,7233629131,14096302921,274877... |
programs/oeis/073/A073497.asm | neoneye/loda | 22 | 127143 | <reponame>neoneye/loda<gh_stars>10-100
; A073497: a(n) = n^2 - prime(n).
; -1,1,4,9,14,23,32,45,58,71,90,107,128,153,178,203,230,263,294,329,368,405,446,487,528,575,626,677,732,787,834,893,952,1017,1076,1145,1212,1281,1354,1427,1502,1583,1658,1743,1828,1917,1998,2081,2174,2271,2368,2465,2568,2665,2768,2873,2980,3093,32... |
AP1/kernel_teste.asm | KilnerJhow/ihs | 1 | 127144 | org 0x7e00
global start
section .data
memory: times 64 db 0
section .bss
mem: resb 64
section .text
start:
mov ax, 0
mov si, ax
mov di, ax
mov ds, ax
mov es, ax
;lea di, [memory]
mov di, mem
mov al, 'A'
stosb
mov al, 'B'
stosb
mov al, 0
stosb
... |
symbolinen_konekieli/Ratol_msdos/koepaa1.asm | tkukka/VariousContent | 0 | 127146 | <gh_stars>0
;RaTol Symbolinen konekieli: Koetehtävä 1d
;Tero Kukka IY96A
;Tiedosto: koe1d.asm Versio 1.0
;Luotu 27.4.1998
;
include a:makrot.txt
extrn _f: near ;!
;Vakiot:
KOKO equ 5
.model small ;HUOM. malli
.stac... |
data/mapHeaders/route16gateupstairs.asm | adhi-thirumala/EvoYellow | 16 | 127147 | Route16GateUpstairs_h:
db GATE ; tileset
db ROUTE_16_GATE_2F_HEIGHT, ROUTE_16_GATE_2F_WIDTH ; dimensions (y, x)
dw Route16GateUpstairsBlocks, Route16GateUpstairsTextPointers, Route16GateUpstairsScript ; blocks, texts, scripts
db $00 ; connections
dw Route16GateUpstairsObject ; objects
|
src/func/initContent.asm | szapp/Ninja | 17 | 127149 | <reponame>szapp/Ninja<gh_stars>10-100
; void __stdcall ninja_initContent(char *)
; Initialize the content ninja
global ninja_initContent
ninja_initContent:
resetStackoffset
%assign var_total 0x14
%assign var_string -0x14 ; zString
%assign arg_1... |
src/compressed-state-title.asm | jannone/westen | 49 | 127152 | ;-----------------------------------------------
state_title:
call StopMusic
ld hl,title_zx0_page1
ld de,buffer1024
call decompress_from_page1
call clearAllTheSprites
call set_bitmap_mode
ld ix, buffer1024 ; start of the name table of the title
ld de, CHRTBL2 + 32*8 * 4
ld b,32
state_title_l... |
templates/file.asm | RV8V/asm-code | 1 | 127153 | <gh_stars>1-10
.global _start
.data
file: .ascii "hello.txt\0"
write: .ascii "hello file\0"
space: .space 100
.text
_start:
mov $2, %rax
mov $file, %rdi
mov $2, %rsi
mov $0777, %rdx
syscall
mov %rax, %r8
mov %r8, %rdi
mov $write, %rsi
mov $11, %rdx
syscall
mov %rax, %r9
mov $0, %rax
... |
oeis/073/A073363.asm | neoneye/loda-programs | 11 | 127154 | <reponame>neoneye/loda-programs<filename>oeis/073/A073363.asm<gh_stars>10-100
; A073363: Nested floor product of n and fractions (k+1)/k for all k>0 (mod 6), divided by 6.
; Submitted by <NAME>
; 1,7,28,84,175,421,847,1288,1939,3780,5656,9247,15148,22099,25375,39676,54607,75208,90559,129360,166321,209832,240268,320719,... |
kCom2.asm | satadriver/LiunuxOS | 0 | 127155 | <filename>kCom2.asm<gh_stars>0
.386p
Kernel Segment public para use32
assume cs:Kernel
__kCom2Proc proc
pushad
push ds
push es
comment *
mov ebp,esp
add ebp,32
push dword ptr ICW2_MASTER_INT_NO + 3
push dword ptr 0
push dword ptr [ebp]
push dword ptr [ebp + 4]
push dword ptr [ebp + 8]
test dw... |
libsrc/_DEVELOPMENT/arch/hbios/c/sccz80/hbios_e_dehl.asm | Frodevan/z88dk | 640 | 127156 |
; uint8_t hbios_e_dehl(uint16_t func_device, uint32_t arg) __smallc
SECTION code_clib
SECTION code_arch
PUBLIC hbios_e_dehl
EXTERN asm_hbios_e
.hbios_e_dehl
pop af
pop hl
pop de
pop bc
push bc
push de
push hl
push af
jp asm_hbios_e
|
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/malloc_fastcall.asm | teknoplop/z88dk | 0 | 127157 | <reponame>teknoplop/z88dk
; void *malloc_fastcall(size_t size)
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _malloc_fastcall
EXTERN asm_malloc
defc _malloc_fastcall = asm_malloc
;;;;;;;;;... |
programs/oeis/168/A168273.asm | karttu/loda | 1 | 127158 | <reponame>karttu/loda
; A168273: a(n) = 2*n + (-1)^n - 1.
; 0,4,4,8,8,12,12,16,16,20,20,24,24,28,28,32,32,36,36,40,40,44,44,48,48,52,52,56,56,60,60,64,64,68,68,72,72,76,76,80,80,84,84,88,88,92,92,96,96,100,100,104,104,108,108,112,112,116,116,120,120,124,124,128,128,132,132,136,136,140,140,144,144,148,148,152,152,156,15... |
programs/oeis/125/A125083.asm | neoneye/loda | 22 | 127159 | ; A125083: a(n) = n^5-n^4-n^3-n^2-n-1.
; -1,-4,1,122,683,2344,6221,14006,28087,51668,88889,144946,226211,340352,496453,705134,978671,1331116,1778417,2338538,3031579,3879896,4908221,6143782,7616423,9358724,11406121,13797026,16572947,19778608,23462069,27674846,32472031,37912412,44058593,50977114,58738571,67417736,7709367... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1763.asm | ljhsiun2/medusa | 9 | 127160 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xc2d, %r13
nop
nop
nop
sub $60550, %rsi
mov $0x6162636465666768, %r9
movq %r9, (%r13)
nop
nop
nop
and $49044, %rdx
lea addresses_WC_ht+0xac2d, %rdi
clflush (%rdi)
nop
nop
nop
... |
45/runtime/rt/gwplays.asm | minblock/msdos | 0 | 127161 | TITLE GWPLAYS - GW BASIC 2.0 Multi Voice Play
;***
; GWPLAYS - GW BASIC 2.0 Multi Voice Play
;
; Copyright <C> 1986 - 1988, Microsoft Corporation
;
;Purpose:
; Multi Voice Play statement processor
;
; BASIC Syntax mapping to included runtime entry points:
;
; - PLAY Statement:
;
; PLAY string
; |
; B$SPLY
;... |
menu_st.asm | jorgicor/altair | 0 | 127162 | <reponame>jorgicor/altair
; ----------------------------------------------------------------------------
; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and
; Amstrad CPC.
; ----------------------------------------------------------------------------
; --------------------------------------------------... |
P6/data_P6_2/cal_R_same_test3.asm | alxzzhou/BUAA_CO_2020 | 1 | 127163 | lui $1,6247
ori $1,$1,12718
lui $2,956
ori $2,$2,61474
lui $3,15057
ori $3,$3,29458
lui $4,46733
ori $4,$4,39613
lui $5,31373
ori $5,$5,25916
lui $6,56666
ori $6,$6,38967
mthi $1
mtlo $2
sec0:
nop
nop
nop
sltu $1,$6,$6
sec1:
nop
nop
xor $6,$2,$5
sltu $0,$6,$6
sec2:
nop
nop
andi $6,$6,11945
sltu $3,$6,$6
sec... |
codigo/ej4/MCD/mcd.asm | IgnacioPardo/TD2_TP1 | 0 | 127165 | mcd:
SET R2, 0x00
CMP R0, R2
JZ a_cero
CMP R1, R2
JZ b_cero
CMP R0, R1
JZ iguales
JN b_mayor_a
JMP a_mayor_b
a_cero:
MOV R4, R1
JMP fin
b_cero:
MOV R4, R0
JMP fin
iguales:
MOV R4, R0
JMP fin
b_mayor_a:
SUB R1, R0
JMP mcd
a_mayor_b:
SUB R0, R1
JMP mcd
fin:
JMP fin |
sw/552tests/rand_complex/t_1_all.asm | JPShen-UWM/ThreadKraken | 1 | 127166 | <reponame>JPShen-UWM/ThreadKraken
// seed 1
lbi r0, 10 // icount 0
slbi r0, 116 // icount 1
lbi r1, 213 // icount 2
slbi r1, 86 // icount 3
lbi r2, 144 // icount 4
slbi r2, 0 // icount 5
lbi r3, 48 // icount 6
slbi r3, 253 // icount 7
lbi r4, 192 // icount 8
slbi r4, 93 // icount 9
lbi r5, 89 // icount 10
slbi r5, 146 ... |
libsrc/cpcmath/atan.asm | dex4er/deb-z88dk | 1 | 127167 | <gh_stars>1-10
;
; CPC Maths Routines
;
; August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
;
; $Id: atan.asm,v 1.2 2007/07/21 21:28:22 dom Exp $
;
INCLUDE "#cpcfirm.def"
INCLUDE "#cpcfp.def"
XLIB atan
XDEF atanc
LIB get_para
.atan call get_para
call firmware
.atanc defw CPCFP_FLO_AT... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_540.asm | ljhsiun2/medusa | 9 | 127168 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xc2a3, %rsi
lea addresses_WC_ht+0x175f7, %rdi
nop
nop
nop
nop
nop
and %r15, %r15
mov $66, %rcx
rep movsq
nop
nop
nop
dec %r12
lea addresses_A_ht+0x1ac77, %rbp
cmp %rbx, %rbx
vmovups (%... |
src/test/resources/data/generationtests/sjasmplus-test3-expected.asm | cpcitor/mdlz80optimizer | 36 | 127169 | ; Test case encountered when parsing aplib
Decompress: ld a, 128
CASE0: ldi
MainLoop:
add a, a
call z, ReloadByte
jr nc, CASE0
add a, a
call z, ReloadByte
jr nc, CASE10
ld bc, 11100000b
add a, a
call z, ReloadByte
jr nc, CASE110
CASE110:
CASE10:
NoLWM:
bit 7, l
jr nz, NoLWM... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_571.asm | ljhsiun2/medusa | 9 | 127170 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1d5d0, %rcx
and %r10, %r10
mov $0x6162636465666768, %r12
movq %r12, %xmm3
movups %xmm3, (%rcx)
nop
nop
add %rcx, %rcx
lea addresses_A_ht+0x66d6, %r11
inc %r13
movl $0x616263... |
libsrc/zx81/set_psg.asm | meesokim/z88dk | 0 | 127171 | ;
; ZX81 Spectrum specific routines
; by <NAME>, Fall 2013
;
; int set_psg(int reg, int val);
;
; Play a sound by PSG
;
;
; $Id: set_psg.asm,v 1.3 2015/01/23 07:07:31 stefano Exp $
;
PUBLIC set_psg
;PUBLIC psg_patch0
;PUBLIC psg_patch1
set_psg:
pop bc
pop de
pop hl
push hl
push de
push bc
;ld bc,$cf... |
test/asm/purge-ref.asm | orbea/rgbds | 522 | 127172 | SECTION "test", ROM0 ; Important: do not purge this!
dw ref
PURGE ref
OK:
PURGE OK
dw NotOK
NotOK:
PURGE NotOK
EvenLessOK:
dw EvenLessOK
PURGE EvenLessOK
SECTION "fixed", ROM0[0]
Maybe:
dw Maybe
; This is currently fine because the expression above is fully evaluated
; above, so it's fine as of now... b... |
45/qb/ir/bddebug.asm | minblock/msdos | 0 | 127173 | <filename>45/qb/ir/bddebug.asm
TITLE BdDebug.asm - Buffer Descriptor Debugging Routines
COMMENT \
--------- --- ---- -- ---------- ----
COPYRIGHT (C) 1985 BY MICROSOFT, INC.
--------- --- ---- -- ---------- ----
\
;============================================================================
; Module: BdDebug.asm -... |
Transynther/x86/_processed/AVXALIGN/_st_zr_/i3-7100_9_0x84_notsx.log_21829_1709.asm | ljhsiun2/medusa | 9 | 127174 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x10260, %rsi
lea addresses_D_ht+0xc100, %rdi
nop
nop
nop
add %r11, %r11
mov $27, %rcx
rep movsb
nop
and %r8, %r8
lea addresses_normal_ht+0x72c0, %r13
nop
nop
nop
and $4468, %r8
mov (%r1... |
experiment08/1b_ANDrr_ORrr_EXORrr_LSL_LSR.asm | EmilyClaire/space_invader | 0 | 127175 | <filename>experiment08/1b_ANDrr_ORrr_EXORrr_LSL_LSR.asm
;- Test Info: ----------------------------------------------------------|
;- Programmers: <NAME> and <NAME> |
;- Date: 02-27-2011 |
;- Version: 1 |
;-------------------------------------------------------------------... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_188.asm | ljhsiun2/medusa | 9 | 127176 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rax
push %rbx
lea addresses_WC_ht+0x1c340, %r14
nop
nop
nop
and $55808, %rbx
movups (%r14), %xmm7
vpextrq $0, %xmm7, %rax
nop
nop
nop
nop
add $4334, %rax
pop %rbx
pop %rax
pop %r14
ret
.global s_faulty_load
s_fault... |
libsrc/target/vector06c/psg/psg_init.asm | Frodevan/z88dk | 640 | 127177 | ;
;
SECTION code_clib
PUBLIC psg_init
PUBLIC _psg_init
psg_init:
_psg_init:
ld e,@01010101
xor a ; R0: Channel A frequency low bits
call outpsg
ld e,a
ld d,12
psg_iniloop:
inc a ; R1-13: set all to 0 but 7 and 11
cp 7
jr z,skip
;cp 11
;jr z,skip
call outpsg
skip:
dec d
jr nz,psg_iniloop
... |
hardware-time.asm | vipoo/bbcbasic-z80 | 2 | 127178 | ; TITLE BBC BASIC (C) R.T.RUSSELL 1987
;
;BBC BASIC INTERPRETER - Z80 VERSION
;HARDWARE SOUND INTERFACE
;(C) COPYRIGHT R.T.RUSSELL 1984
; extensions by <NAME> 2020
include "hbios.inc"
include "constants.inc"
PUBLIC GETIME
PUBLIC PUTIME
PUBLIC DEHL_TO_INT
PUBLIC INT_TO_DEHL
PUBLIC TICKSTOCENTS
PUBLIC CENTSTO... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1425.asm | ljhsiun2/medusa | 9 | 127179 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xbf01, %r13
nop
nop
nop
xor $12793, %rbx
movb $0x61, (%r13)
nop
nop
nop
nop
nop
inc %r15
lea addresses_normal_ht+0x10199, %rsi
lea addresses_normal_ht+0x1035d, %rdi
clflush (%r... |
oeis/285/A285715.asm | neoneye/loda-programs | 22 | 127180 | <gh_stars>10-100
; A285715: a(n) = A000120(A245611(n)).
; 0,1,2,3,1,4,5,2,6,7,3,8,2,1,9,10,4,3,11,5,12,13,2,14,3,6,15,4,7,16,17,3,5,18,8,19,20,2,4,21,1,22,6,9,23,5,10,7,24,4,25,26,3,27,28,11,29,8,5,6,4,12,2,30,13,31,7,2,32,33,14,5,9,3,34,35,6,10,36,15,8,37,4,38,5,7,39,3,16,40,41,17,11,6,3,42,43,5,44,45
mul $0,2
seq $0... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_332.asm | ljhsiun2/medusa | 9 | 127181 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1e670, %rsi
lea addresses_UC_ht+0x1c8f0, %rdi
nop
nop
nop
nop
nop
xor %r12, %r12
mov $68, %rcx
rep movsw
nop
and $54495, %rdx
lea addresses_WC_ht+0x10d08, %rdx
nop
nop
sub %r11, %r11
m... |
programs/oeis/072/A072464.asm | neoneye/loda | 22 | 127182 | ; A072464: Code word lengths for non-redundant MML code for positive integers.
; 1,3,3,6,6,6,6,7,7,7,7,7,7,7,7,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13... |
oeis/141/A141875.asm | neoneye/loda-programs | 11 | 127183 | <filename>oeis/141/A141875.asm
; A141875: Primes congruent to 10 mod 19.
; Submitted by <NAME>
; 29,67,181,257,409,523,599,751,827,941,1093,1283,1321,1511,1549,1663,1777,2081,2309,2347,2423,2689,2803,2879,2917,3221,3259,3373,3449,3677,3943,4019,4057,4133,4513,4703,4817,4931,4969,5197,5273,5387,5501,5653,5843,5881,6299,... |
bfloat/mcmps.asm | DW0RKiN/Floating-point-Library-for-Z80 | 12 | 127184 | if not defined MCMPS
; Warning: must be included before first use!
; Compare two numbers with the same sign.
; Input: reg1_hi, reg1_lo, reg2_hi, reg2_lo
; Output: set flags for reg1-reg2
; Pollutes: AF
; Use: MCMPS H,L,D,E
MCMPS MACRO reg1_hi, reg1_lo, reg2_hi, reg2_lo
LD A, reg1_hi ;... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1877.asm | ljhsiun2/medusa | 9 | 127186 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1877.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x144ea, %rbx
clflush (%rbx)
and %r11, %r11
mov (%rbx), %r15w
xor $23382, %rax
l... |
chapter_05/prime.asm | GeertArien/low-level-programming | 0 | 127188 |
%define concat(x,y) x %+ y
%assign limit 30
%define prime_bits 100b
%assign n 3
%rep limit
%assign current 1
%assign i 1
%rep n/2
%assign i i+1
%if n % i = 0
%assign current 0
%exitrep
%endif
%endrep
%xdefine prime_bits concat(current, prime_bits)
... |
kolokwium_2016/zad5/fun2.asm | adamczykpiotr/AGH_WIMiIP_Architektury_Komputerow | 1 | 127189 | section .text
global fun
fun:
mov r13, rsi ;adres tab
xor r14, r14 ;int i
xor r15, r15 ;int j
_petla_i:
_petla_j:
mov r12, [r13+r15]
add r12, 2
mov [r13+r15], r12
inc r15
cmp r15, rdi
jb _petla_j
xor r15, r15
inc r14
cmp r14, 10000
jb _petla_i
_koniec:
mov rax, r15
ret
|
programs/oeis/227/A227394.asm | neoneye/loda | 22 | 127191 | <filename>programs/oeis/227/A227394.asm
; A227394: The maximum value of x^4(n-x)(x-1) for x in 1..n is reached for x = a(n).
; 1,1,2,3,4,5,6,7,7,8,9,10,11,12,13,13,14,15,16,17,18,18,19,20,21,22,23,23,24,25,26,27,28,28,29,30,31,32,33,33,34,35,36,37,38,38,39,40,41,42,43,43,44,45,46,47,48,48,49,50,51,52,53,53,54,55,56
mo... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_12301_1134.asm | ljhsiun2/medusa | 9 | 127192 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc33c, %r13
nop
nop
nop
and %rax, %rax
mov (%r13), %r11
nop
nop
nop
nop
cmp $42517, %r11
lea addresses_A_ht+0x101c, %rsi
lea addresses_UC_ht+0xcf3c, %rdi
nop
nop
nop
xor $46911, %r... |
arch/lib/io/write_integer.asm | Mosseridan/Compiler-Principles | 0 | 127193 | <reponame>Mosseridan/Compiler-Principles
/* io/write_integer.asm
* Print a decimal representation of an integer argument to stdout
*
* Programmer: <NAME>, 2010
*/
WRITE_INTEGER:
PUSH(FP);
MOV(FP, SP);
PUSH(R1);
MOV(R0, FPARG(0));
CMP(R0, IMM(0));
JUMP_EQ(L_WI_0);
JUMP_LT(L_WI_N);
PUSH(R0);
CALL... |
m2-formatting.asm | Normmatt/Mother2GbaTranslation | 1 | 127194 | //==============================================================================
// http://en.wikipedia.org/wiki/Double_dabble
// int bin_to_bcd(int binary)
// In:
// r0: binary number
// Out:
// r0: BCD-coded number
// r1: amount of digits used
//===============================================================... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1837.asm | ljhsiun2/medusa | 9 | 127195 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x3e11, %rsi
lea addresses_normal_ht+0x425f, %rdi
nop
nop
nop
nop
and $10012, %rbp
mov $70, %rcx
rep movsl
nop
nop
nop
inc %r14
lea addresses_UC_h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.