text stringlengths 1 1.05M |
|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x119ab, %rbx
xor %r13, %r13
and $0xffffffffffffffc0, %rbx
vmovaps (%rbx), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $1, %xmm6, %rcx
nop
add %rdi, %rdi
lea addresses_D_ht+0x15c8f, %rsi
... |
; A056136: Largest positive integer whose harmonic mean with another positive integer is n.
; 1,2,6,6,15,12,28,20,45,30,66,42,91,56,120,72,153,90,190,110,231,132,276,156,325,182,378,210,435,240,496,272,561,306,630,342,703,380,780,420,861,462,946,506,1035,552,1128,600,1225,650,1326,702,1431,756,1540
mov $3,2
mov $7,$0
... |
; A201734: Numbers n such that 90*n + 47 is prime.
; Submitted by Christian Krause
; 0,1,2,3,6,7,9,10,13,14,16,18,20,22,24,25,27,29,31,32,38,39,43,44,49,50,51,53,56,63,64,65,66,69,77,80,83,84,87,90,91,95,98,101,102,105,106,107,108,109,111,116,118,120,121,122,123,129,132,134,135,137,140,143,144,146,148,149,154,155,156,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x7a50, %rdx
nop
nop
and $30582, %r13
mov (%rdx), %ebp
nop
inc %rbp
lea addresses_UC_ht+0x13198, %rsi
lea addresses_WC_ht+0xa102, %rdi
nop
nop
nop
dec %r14
mov $61, %rcx
rep m... |
SFX_Level_Up_Ch5:
execute_music
tempo 256
volume 7, 7
duty_cycle 2
toggle_perfect_pitch
note_type 6, 11, 4
octave 4
note F_, 4
note_type 4, 11, 2
note C_, 2
note F_, 2
note C_, 2
note_type 6, 11, 3
note D#, 2
note D#, 2
note E_, 2
note_type 6, 11, 4
note F_, 8
sound_ret
SFX_Level_Up_Ch6:
execute_m... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 0f in $0xf,%al
8010000c <entry>:... |
//
// Copyright (c) 2017-2021 Martin Moene
//
// https://github.com/martinmoene/invoke-lite
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef NONSTD_INVOKE_LITE_HPP
#define NONSTD_INVOKE_LITE_HPP
#define invo... |
;
; jfdctint.asm - accurate integer FDCT (MMX)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2016, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in j... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="start, length, vec"/>
<%docstring>
Invokes the syscall mincore. See 'man 2 mincore' for more information.
Arguments:
start(void): start
len(size_t): len
vec(unsigned): vec
</%docstring>
${syscall('SYS_mincore', start, length, ve... |
/*
* Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010 - 2012 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2011 - 2012 ArkCORE <http://www.arkania.net/>
*
* This program is free software;... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
/*
Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2... |
#include <CppUTest/CommandLineTestRunner.h>
int main(int argc, char **argv)
{
return (CommandLineTestRunner::RunAllTests(argc, argv));
}
|
; entry = trainerclass, trainerid, moveset+, 0
; moveset = partymon location, partymon's move, moveid
SpecialTrainerMoves:
db BROCK,$1
; GEODUDE
db 1,3,BIDE
; GEODUDE
db 2,3,BIDE
; ONIX
db 3,3,BIDE
db 0
db MISTY,$1
; STARYU
db 1,1,SWIFT
; PSYDUCK
db 2,1,SCRATCH
db 2,2,BUBBLEBEAM
; STARMIE
db 3,4,BUBBL... |
; NOTE : This template is for .COM files only do not use for .EXE files!!
;
;
;
; Copyright 1986 by Dana Nowell - All rights reserved
;
; HISTORY:
; Version Date Name Description
; 1.0 11/10/86 dn first cut
; 1.01 11/21/86 dn Fixed memory al... |
;;----------------------BOOTLOADER-------------------------------
USE16 ; especifica que se usara el modo de compilacion de 16 bits
ORG 0x7C00 ; especifica que el programa se cargara en la direccion
; 0x7C00 de la memoria
jmp inicio ; salto a la etiqueta inicio
inicio: ; funcion principal del ... |
;
; BIGSHR.ASM
;
; Implementation for for signed and unsigned right shift of a 64 bit integer.
;
; Copyright (c) 2017 Malcolm J. Smith
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Softwa... |
SFX_Ball_Toss_Ch4:
duty 2
unknownsfx0x10 47
unknownsfx0x20 15, 242, 128, 7
endchannel
SFX_Ball_Toss_Ch5:
duty 2
unknownsfx0x20 15, 194, 130, 7
endchannel
|
; Z88 Small C+ Run Time Library
; Long functions
;
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_add
EXTERN l_long_add_stack
defc l_long_add = l_long_add_stack
|
; A080121: a(n) is the smallest k > 0 such that n^2^k + (n+1)^2^k is prime, or -1 if no such k exists.
; 1,1,2,1,1,2,1,2,1,5
seq $0,50873 ; Triangular array T read by rows: T(n,k) = gcd(n,k).
seq $0,32741 ; a(0) = 0; for n > 0, a(n) = number of proper divisors of n (divisors of n which are less than n).
seq $0,94360 ;... |
segment .text
align 4
f:
push ebp
mov ebp, esp
sub esp, 4
lea eax, [ebp+8]
push eax
pop eax
push dword [eax]
call prints
add esp, 4
push dword 10
push dword [esp]
lea eax, [ebp+-4]
push eax
pop ecx
pop eax
mov [ecx], eax
add esp, 4
lea eax, [ebp+-4]
push eax
pop eax
push dword [eax]
pop eax
leave... |
TITLE DLLENTRY - Copyright (c) 1994 SLR Systems
INCLUDE MACROS
INCLUDE SYMCMACS
INCLUDE RELEASE
INCLUDE WIN32DEF
INCLUDE WINMACS
INCLUDE IO_STRUC
PUBLIC DLL_ENTRY,_NetSpawnVersion,_DllVersion,DLL_TERMINATE,REPORT_ASCIZ,REPORT_MESSAGE,REPORT_PROGRESS
PUBLIC REPORT_OUT_ASCIZ,REPORT_CLOSE_ASCIZ
.D... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="gid"/>
<%docstring>
Invokes the syscall setgid. See 'man 2 setgid' for more information.
Arguments:
gid(gid_t): gid
</%docstring>
${syscall('SYS_setgid', gid)}
|
[bits 64]
section .text
global long_mode_start
long_mode_start:
mov ax, cs
cmp ax, CODE_SEG
jne .no_correct_code_seg
mov ax, 0
mov ss, ax
mov ds, ax
mov es, ax
;mov fs, ax
;mov gs, ax
mov rax, cr3
add rax, KERNEL_LMA
mov qword [rax], 0x0
invlpg [0]
mov rsp, ... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
; A086070: Where records in A086068 occur.
; 1,2,3,5,7,11,13,15,23,27,29,31,47,55,59,61,63,95,111,119,123,125,127,191,223,239,247,251,253,255,383,447,479,495,503,507,509,511,767,895,959,991,1007,1015,1019,1021,1023
mov $15,$0
mov $17,2
mov $19,$0
lpb $17
mov $0,$15
sub $0,1
mov $8,$0
mov $10,2
sub $17,1
lp... |
.section #gk104_builtin_code
// DIV U32
//
// UNR recurrence (q = a / b):
// look for z such that 2^32 - b <= b * z < 2^32
// then q - 1 <= (a * z) / 2^32 <= q
//
// INPUT: $r0: dividend, $r1: divisor
// OUTPUT: $r0: result, $r1: modulus
// CLOBBER: $r2 - $r3, $p0 - $p1
// SIZE: 22 / 14 * 8 bytes
//
gk104_div_u32... |
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x12a6e, %rax
nop
nop
nop
inc %rdi
movb $0x61, (%rax)
nop
nop
nop
add $8573, %r8
lea addresses_A_ht+0x1106e, %rsi
lea addresses_A_ht+0x96ee, %rdi
nop
nop
xor %r13, %r13
mov $28... |
_chmod: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "user.h"
int
main(int argc, char* argv[])
{
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 ... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <txmempool.h>
#include <algorithm>
#include <consensus/consensus.h>
#in... |
//
// Copyright (C) Microsoft. All rights reserved.
//
#pragma once
class FxDmaScatterGatherTransaction : public FxDmaTransactionBase {
public:
FxDmaScatterGatherTransaction(
__in PFX_DRIVER_GLOBALS FxDriverGlobals,
__in USHORT ExtraSize,
__in FxDmaEnabler *DmaEnabler
);
... |
;; CIRCLE speedup. Fits in the space of the original
STK_TO_A: EQU 2314H
STK_TO_BC: EQU 2307H
REPORT_B_3: EQU 24F9H
PLOT_SUB: EQU 22E5H
TEMPS: EQU 0D4DH
ORG 233BH
C_R_GRE_1: CALL STK_TO_A
PUSH AF
CALL STK_TO_BC
POP AF
CIRCLE_INT: LD H,A
LD L,0
RRA
CIRCLE_L3: LD DE,00FCH
CIRCLE_L1: PUSH AF
CIRCLE_L2: PUSH... |
; ------------------------------------------------------------------
; Program to display text files and PCX images (320x200, 8-bit only)
; ------------------------------------------------------------------
BITS 16
%INCLUDE "mikedev.inc"
ORG 32768
main_start:
call draw_background
call os_file_selector ; Get ... |
%define ZERO_ARGS 0x0
%define WRITE_SYSCALL_NUM 0x1
%define STDOUT_FILENO 0x1
%define BUF_LEN 0x1
%define LOOP_COUNTER 0x8000
%define RANDOM_NUM 0x100
%macro do_write_syscall ZERO_ARGS
mov rdi, STDOUT_FILENO
mov rdx, BUF_LEN
mov rax, WRITE_SYSCALL_NUM
sysc... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x2450, %r12
nop
nop
nop
nop
add %r10, %r10
mov $0x6162636465666768, %rsi
movq %rsi, (%r12)
nop
nop
nop
add $15472, %rdx
lea addresses_WC_ht+0xa410, %rsi
lea addresses_WT_ht+0... |
; RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
.code
t1:
mov eax, \
ebx
; CHECK: t1:
; CHECK-NEXT: mov eax, ebx
t2:
mov eax, [ebx + \
1]
; CHECK: t2:
; CHECK-NEXT: mov eax, dword ptr [ebx + 1]
END
|
; A269658: Number of length-5 0..n arrays with no adjacent pair x,x+1 repeated.
; 1,26,225,988,3065,7686,16681,32600,58833,99730,160721,248436,370825,537278,758745,1047856,1419041,1888650,2475073,3198860,4082841,5152246,6434825,7960968,9763825,11879426,14346801,17208100,20508713,24297390,28626361,33551456,39132225,4543... |
/**
* Copyright (C) 2016 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
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 ... |
; A088564: a(n)=sum(i=0,n,binomial(2*i,i) (mod 3)).
; 1,3,3,5,6,6,6,6,6,8,9,9,10,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,15,15,16,18,18,18,18,18,19,21,21,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,27,27,28,30,30,30,30,30,31,33,33... |
include 'ebc.inc'
include 'efi.inc'
include 'format.inc'
include 'utf8.inc'
format peebc efi ; PE executable format, EFI Byte Code
entry efi_main
;; This is for all the assembly for the whole program
section 'CODE' code executable readable
macro ASMCALL routine_name
STORESP R6, [IP]
JMP32 R0(routine_name)
... |
; A317314: Multiples of 14 and odd numbers interleaved.
; 0,1,14,3,28,5,42,7,56,9,70,11,84,13,98,15,112,17,126,19,140,21,154,23,168,25,182,27,196,29,210,31,224,33,238,35,252,37,266,39,280,41,294,43,308,45,322,47,336,49,350,51,364,53,378,55,392,57,406,59,420,61,434,63,448,65,462,67,476,69,490,71,504,73,518,75,532,77,546... |
#pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_SpaceDolphin_Character_BP_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-----------------------------------------------... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xfdcb, %r11
nop
nop
nop
nop
add $13847, %r12
movb $0x61, (%r11)
nop
nop
nop
nop
cmp $47242, %rdx
lea addresses_D_ht+0x1b27b, %rcx
nop
nop
nop
dec %r14
vmovups (%rcx)... |
#include "platform/CACommon.h"
#include "jni/Java_org_CrossApp_lib_CrossAppHelper.h"
#include <android/log.h>
#include <stdio.h>
#include <jni.h>
NS_CC_BEGIN
#define MAX_LEN (CrossApp::kMaxLogLen + 1)
void CCLog(const char * pszFormat, ...)
{
char buf[MAX_LEN];
va_list args;
va_start(args, psz... |
// Copyright (c) 2010-12, Pierre-Antoine Delsart, Kurtis Geerlings, Joey Huston,
// Brian Martin, and Christopher Vermilion
//
//----------------------------------------------------------------------
// This file is part of SpartyJet.
//
// SpartyJet is free software; you can redistribute it and/or mod... |
ICZ2_Header:
sHeaderInit ; Z80 offset is $CA37
sHeaderPatch ICZ2_Patches
sHeaderCh $06, $03
sHeaderTempo $01, $23
sHeaderDAC ICZ2_DAC
sHeaderFM ICZ2_FM1, $18, $18
sHeaderFM ICZ2_FM2, $00, $0D
sHeaderFM ICZ2_FM3, $0C, $1E
sHeaderFM ICZ2_FM4, $0C, $1E
sHeaderFM ICZ2_FM5, $18, $20
sHeaderPSG ICZ2_PSG1, $00... |
/** VD */
#pragma once
#include <cstdio>
#include <cstdint>
#include <string>
#include <queue>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <deque>
#include <iomanip>
#include <memory>
#include <QString>
#ifdef Q_OS_WIN32
#
# include <windows.h>
#
#endif
#ifdef _MSC_VER
# if _... |
include w2.inc
include noxport.inc
include consts.inc
include structs.inc
createSeg res_PCODE,resn2,byte,public,CODE
; DEBUGGING DECLARATIONS
ifdef DEBUG
midResn2 equ 32 ; module ID, for native asserts
endif ;/* DEBUG */
; EXPORTED LABELS
; EXTERNAL FUNCTIONS
externNP <LN_LpFromPossibleHq>... |
; A034870: Even-numbered rows of Pascal's triangle.
; 1,1,2,1,1,4,6,4,1,1,6,15,20,15,6,1,1,8,28,56,70,56,28,8,1,1,10,45,120,210,252,210,120,45,10,1,1,12,66,220,495,792,924,792,495,220,66,12,1,1,14,91,364,1001,2002,3003,3432,3003,2002,1001,364,91,14,1,1,16,120,560,1820,4368,8008,11440,12870,11440,8008,4368,1820,560,120,... |
IF !__CPU_INTEL__ && !__CPU_GBZ80__
MODULE __printf_handle_llB
SECTION code_clib
PUBLIC __printf_handle_llB
EXTERN __printf_number64
__printf_handle_llB:
ld c,0 ;unsigned
ld (ix-9),2
res 1,(ix-4) ;disable '+' flag
jp __printf_number64
ENDIF
|
/**
* \file WrapFilter.cpp
*/
#include "WrapFilter.h"
#include <ATK/Core/Utilities.h>
#include <algorithm>
namespace ATK
{
template <typename DataType_, typename DataType__>
WrapFilter<DataType_, DataType__>::WrapFilter(gsl::index nb_input_ports,
gsl::index nb_output_ports,
const std::function<void(std::ve... |
; A023479: n-37.
; -37,-36,-35,-34,-33,-32,-31,-30,-29,-28,-27,-26,-25,-24,-23,-22,-21,-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
sub $0,37
mov $1,$0
|
//
//
//
//
#include<iostream>
#include<string.h>
using namespace std;
class railway_time{ // 00:00:00 to 23:59:59 OR t 01:00:00 to 12:59:59
int h, m, s;
public:
void getdata();
void putdata();
operator civil_time()
{
civil_time ct;
ct.h = h;
ct.m = m;
ct.s = s;
ct.... |
// Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Tracing implementation internals
#include "verilated_vcd_c.h"
#include "Vtop_fft__Syms.h"
//======================
void Vtop_fft::trace (VerilatedVcdC* tfp, int, int) {
tfp->spTrace()->addCallback (&Vtop_fft::traceInit, &Vtop_fft::traceFull, &Vtop_fft::t... |
; A045895: Period length of pairs (a,b) where a has period 2n-2 and b has period n.
; 0,2,12,12,40,30,84,56,144,90,220,132,312,182,420,240,544,306,684,380,840,462,1012,552,1200,650,1404,756,1624,870,1860,992,2112,1122,2380,1260,2664,1406,2964,1560,3280,1722,3612,1892,3960,2070,4324,2256,4704,2450,5100,2652,5512,2862,59... |
; A024385: a(n) = [ (2nd elementary symmetric function of S(n))/(first elementary symmetric function of S(n)) ], where S(n) = {first n+1 positive integers congruent to 1 mod 4}.
; 0,3,9,16,25,36,49,64,82,101,122,145,170,197,227,258,291,326,363,402,444,487,532,579,628,679,733,788,845,904,965,1028,1094,1161,1230,1301,137... |
; A032635: a(n) = floor(n^2 / e).
; 0,0,1,3,5,9,13,18,23,29,36,44,52,62,72,82,94,106,119,132,147,162,178,194,211,229,248,268,288,309,331,353,376,400,425,450,476,503,531,559,588,618,648,680,712,744,778,812,847,883,919,956,994,1033,1072
pow $0,2
mov $2,32
mul $2,$0
mov $0,$2
div $0,87
mul $0,2
mov $1,$0
div $1,2
|
copyright zengfr site:http://github.com/zengfr/romhack
007958 move.b D0, ($98,A0)
00795C move.b #$2, ($2a,A0)
00808A bmi $80ca
0080EE sub.w D0, ($82,A1)
011ABA move.b D0, ($98,A0)
011ABE move.w #$101, (A0)
012122 bpl $12162
01A74C dbra D7, $1a74a
01A75E dbra D4, $1a75c
copyright z... |
/*
* 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 later version.
*
* This program is distributed in the hope that it will be use... |
; A349454: Number T(n,k) of endofunctions on [n] with exactly k fixed points, all of which are isolated; triangle T(n,k), n>=0, 0<=k<=n, read by rows.
; Submitted by Christian Krause
; 1,0,1,1,0,1,8,3,0,1,81,32,6,0,1,1024,405,80,10,0,1,15625,6144,1215,160,15,0,1,279936,109375,21504,2835,280,21,0,1,5764801,2239488,43750... |
/*===================================================================
BlueBerry Platform
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1ac98, %rsi
lea addresses_UC_ht+0x222c, %rdi
nop
nop
nop
nop
add $16345, %r8
mov $12, %rcx
rep movsw
nop
nop
nop
nop
cmp %r8, %r8
lea addresses_UC_ht+0xea3c, %rsi
lea address... |
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; shadowssdt asm stub for 5.2.3790-sp2-windows-2003 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtGdiAbortDoc( ULONG arg_01 );
_5_2_3790_sp2_windows_2003_N... |
lda #0
sec
sbc {m1}
sta {m1}
lda #0
sbc {m1}+1
sta {m1}+1
|
/*
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
; A311536: Coordination sequence Gal.6.120.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,4,8,12,17,22,27,32,37,42,46,50,54,58,62,66,71,76,81,86,91,96,100,104,108,112,116,120,125,130,135,140,145,150,154,158,162,166,170,174,179,1... |
; A216286: Primes which cannot be written as x^2+5*y^2, where x > 0, y > 0.
; Submitted by Jon Maiga
; 2,3,5,7,11,13,17,19,23,31,37,43,47,53,59,67,71,73,79,83,97,103,107,113,127,131,137,139,151,157,163,167,173,179,191,193,197,199,211,223,227,233,239,251,257,263,271,277,283,293,307,311,313,317,331,337,347,353,359,367,37... |
ori $1, $0, 2
ori $2, $0, 4
ori $3, $0, 7
ori $4, $0, 8
sw $3, 0($0)
sw $2, 4($0)
sw $4, 8($0)
sw $2, 12($0)
sw $3, 16($0)
sw $1, 20($0)
sw $3, 24($0)
sw $4, 28($0)
sw $3, 32($0)
sw $3, 36($0)
sw $1, 40($0)
sw $2, 44($0)
sw $2, 48($0)
sw $1, 52($0)
sw $3, 56($0)
sw $4, 60($0)
sw $3, 64($0)
sw $4, 6... |
SECTION code_fp_math48
PUBLIC ftoe
EXTERN _ftoe_impl
; sccz80 points to the implementation
defc ftoe = _ftoe_impl
|
;******************************************************************************
;* VP9 Intra prediction SIMD optimizations
;*
;* Copyright (c) 2015 Ronald S. Bultje <rsbultje gmail com>
;* Copyright (c) 2015 Henrik Gramner <henrik gramner com>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can re... |
; A120149: a(1)=2; a(n)=floor((7+sum(a(1) to a(n-1)))/3).
; 2,3,4,5,7,9,12,16,21,28,38,50,67,89,119,159,212,282,376,502,669,892,1189,1586,2114,2819,3759,5012,6682,8910,11880,15840,21120,28160,37546,50062,66749,88999,118665,158220,210960,281280,375040,500053,666738
mov $2,8
lpb $0,1
sub $0,1
mov $3,$2
mul $2,2
... |
; A281813: a(0) = 3, a(n) = 8*n + 4 for n > 0.
; 3,12,20,28,36,44,52,60,68,76,84,92,100,108,116,124,132,140,148,156,164,172,180,188,196,204,212,220,228,236,244,252,260,268,276,284,292,300,308,316,324,332,340,348,356,364,372,380,388,396,404
mul $0,8
bin $1,$0
sub $0,$1
add $0,4
mov $1,$0
|
// Test provided by Karu
// Generic Test (+)-(-)=(+)
lbi r1, 0x39
lbi r2, 0xf4
sub r3, r2, r1
halt
|
; A166496: Prime plus the next composite.
; 6,7,11,15,23,27,35,39,47,59,63,75,83,87,95,107,119,123,135,143,147,159,167,179,195,203,207,215,219,227,255,263,275,279,299,303,315,327,335,347,359,363,383,387,395,399,423,447,455,459,467,479,483,503,515,527
cal $0,40 ; The prime numbers.
sub $0,2
mov $1,1
add $2,$0
mov $0,0
... |
#include "hi.asm"
iodata = 0xff0
ioctrl = 0xff1
ioin = 0xff1
jmp start
send_data:
st iodata
li(0x03)
st ioctrl
li(0x01)
st ioctrl
send_data_r = . + 1
send_data_r0:
jmp 0
send_ctrl:
st iodata
li(0x02)
st ioctrl
lh 0x00
st ioctrl
send_ctrl_r = . + 1
send_ctrl_r0:
jmp 0
start:
lh 0x00
st ioctrl
li(1f) st send_ctr... |
; A211481: Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and w+2x+3y=n.
; 1,3,8,16,26,38,54,71,91,114,139,166,197,229,264,302,342,384,430,477,527,580,635,692,753,815,880,948,1018,1090,1166,1243,1323,1406,1491,1578,1669,1761,1856,1954,2054,2156,2262,2369,2479,2592,2707
mov $1,2
mov $2,$0
add $2,1... |
; A052127: Sum a(n) x^n / n!^2 = exp(-2x)/(1-x)^3.
; Submitted by Jamie Morken(s4)
; 1,1,8,96,2112,68160,3087360,185633280,14301020160,1372232171520,160390869811200,22426206024499200,3695148753459609600,708443854690399027200,156340439420689081958400,39342248735234589720576000,11197266840049016358567936000
mov $3,1
lpb... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1a0c1, %r14
clflush (%r14)
nop
sub $16783, %r11
movl $0x61626364, (%r14)
nop
nop
sub $46283, %r14
lea addresses_WC_ht+0x4075, %rax
nop
nop
add %rdx, %rdx
movb ... |
; DRAW XOR SPRITE 1 BYTE DEFINITION ROTATED, ON RIGHT BORDER
; 01.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
INCLUDE "clib_target_cfg.asm"
SECTION code_temp_sp1
PUBLIC _SP1_DRAW_XOR1RB
EXTERN _SP1_DRAW_XOR1LB
EXTERN SP1RETSPRDRAW
; following data segment copied into struct sp1_cs
ld de,0
n... |
#pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/CName.hpp>
#include <RED4ext/NativeTypes.hpp>
#include <RED4ext/Scripting/Natives/Generated/game/ui/MenuGameController.hpp>
namespace RED4ext
{
namespace game::ui {
struct Previe... |
; A045346: Primes congruent to {0, 1, 2, 4, 5, 6} mod 7.
; Submitted by Jon Maiga
; 2,5,7,11,13,19,23,29,37,41,43,47,53,61,67,71,79,83,89,97,103,107,109,113,127,131,137,139,149,151,163,167,173,179,181,191,193,197,211,223,229,233,239,251,257,263,271,277,281,293,307,313,317,331,337,347,349,359,373,379,383,389,397,401,419... |
; A332187: a(n) = 8*(10^(2n+1)-1)/9 - 10^n.
; Submitted by Jon Maiga
; 7,878,88788,8887888,888878888,88888788888,8888887888888,888888878888888,88888888788888888,8888888887888888888,888888888878888888888,88888888888788888888888,8888888888887888888888888,888888888888878888888888888,88888888888888788888888888888,888888888... |
; Copyright (c) 2015-2018, Satoshi Tanda. All rights reserved.
; Use of this source code is governed by a MIT-style license that can be
; found in the LICENSE file.
;
; This module implements all assembler code
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; References to C func... |
/* LibMemcached
* Copyright (C) 2006-2010 Brian Aker
* All rights reserved.
*
* Use and distribution licensed under the BSD license. See
* the COPYING file in the parent directory for full text.
*
* Summary:
*
*/
#include <libmemcached/common.h>
memcached_return_t memcached_vdo(org::libmemcached::Instance* ... |
COMMENT @**********************************************************************
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Spline library
FILE: splineManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
CDB 5/91 Initial Version
DESCRIPTION:... |
[org 0x0100]
jmp start
num1: dw 2, 3, 6, 4, 8, 67, 32
result1: dw 0
result2: dw 0
start:
xor ax,ax
mov bx,0
mov cx,0
loop:
mov ax,[num1+bx]
Test ax,1
jnz even ;if
add cx,1
even: ; else
add bx,2
cmp bx,14
jnz loop
mov [result1],cx
mov ax,0... |
;win2k.CannaByte coded by vallez
;
;IMPORTANT: THIS CODE IS ONLY FOR READ AND IF YOU WANT TEST IT. IM NOT RESPONSABLE IF YOU
;USE IT FOR BAD THINGS. IN ADDITION NOW THE VIRUS WILL INFECT WIN32K.SYS AND WILL HOOK
;THE APIS BUT IT WILL INFECT ONLY ZZZ.EXE FILE SO FOR IT WORKS FULLY IT MUST BE MODIFIED.
;When a infected... |
; ===============================================================================
;
; Bootloader for nRF24L01
;
; Copyright (C) 2017 Creative Sphere Limited
;
; Copyright (C) 2017 Creative Sphere Limited
; All rights reserved. This program and the accompanying materials
; are made available under the terms of the Apach... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xb590, %rsi
lea addresses_D_ht+0xcdb4, %rdi
sub %rdx, %rdx
mov $113, %rcx
rep movsl
sub %rax, %rax
lea addresses_A_ht+0x15d94, %rax
clflush (%rax)
nop
nop
cmp $17769, %rbx
mov... |
//
// CDATA.CPP
// Menace Software 9/1/97
//
// Store an object of binary data.
// In which we may view, insert, delete or change data in memory or file
// This may be sound or other file data.
//
#ifdef GRAY_MAP
#include "graycom.h"
#else
#include <windows.h>
#include <assert.h>
#include <stdio.h>
#include "common.h"... |
;
; ZX IF1 & Microdrive functions
;
; char* if1_getname(char *location);
;
; Picks a file name from the specified location
;
; $Id: if1_getname.asm,v 1.2 2004/10/08 13:59:32 stefano Exp $
;
XLIB if1_getname
tempmdvname: defs 11
if1_getname:
pop bc ; ret addr
pop hl ; location
push hl
push... |
; ---------------------------------------------------------------------------
; Sprite mappings - animals
; ---------------------------------------------------------------------------
dc.w byte_94A2-Map_obj28b
dc.w byte_94A8-Map_obj28b
dc.w byte_949C-Map_obj28b
byte_949C: dc.b 1
dc.b $F4, 6, 0, 0, $F8
byte_94A2... |
section .data
msg1 : db 'debug here --',10
l1 : equ $-msg1
msg2 : db 'enter the number of elements : '
l2 : equ $-msg2
msg3 : db 'enter the elements',10
l3 : equ $-msg3
msg4 : db 'the sum of elements is : '
l4 : equ $-msg4
msg5 : db 'the average of elements is : '
l5 : equ $-msg5
space:db ' '
new... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x11ebc, %rsi
lea addresses_WC_ht+0x383c, %rdi
clflush (%rdi)
nop
nop
add $4746, %rbx
mov $124, %rcx
rep movsb
nop
nop
nop
nop
nop
cmp %r13, %r13
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r13
ret
.glob... |
; void *p_list_pop_front(p_list_t *list)
SECTION code_adt_p_list
PUBLIC p_list_pop_front
p_list_pop_front:
INCLUDE "adt/p_list/z80/asm_p_list_pop_front.asm"
|
;an x86 assembly language program: call a function
data_seg segment
C DW 0H
ends
stack_seg segment
ST DB 100DUP(0)
TOP EQU 100
ends
code_seg segment
assume cs:code_seg, ds:data_seg, ss:stack_seg
start:
MOV AX, data_seg
MOV DS, AX
MOV AX, stack_seg
MOV SS, AX
MO... |
; size_t strrcspn(const char *str, const char *cset)
SECTION code_clib
SECTION code_string
PUBLIC strrcspn
EXTERN asm_strrcspn
strrcspn:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_strrcspn
|
/*
Copyright 2008-2012 Kristopher R Beevers and Internap Network
Services Corporation.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction,
including without limitation... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.