text stringlengths 1 1.05M |
|---|
; Moises Campos
; 11-05-2020
DATOS: equ $1000
MAYORES: equ $1100
org $1000
; Valores de prueba
db 3,66,74,52,70,43,70,97
db -51,28,-7,73,25,76,32,-30
db -36,90,1,... |
; A126236: Maximum length of a codeword in Huffman encoding of n symbols, where the k-th symbol has frequency k.
; 1,2,3,3,4,4,5,5,5,5,6,6,6,6,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
l... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Desktop/Main
FILE: mainProcess.asm
ROUTINES:
REVISION HISTORY:
Name Date Description
---- ---- -----------
brianc 7/89 Initial version
... |
; A211535: Number of ordered triples (w,x,y) with all terms in {1,...,n} and w=4x+5y.
; 0,0,0,0,0,0,0,0,0,1,1,1,1,2,3,3,3,4,5,6,6,7,8,9,10,11,12,13,14,16,17,18,19,21,23,24,25,27,29,31,32,34,36,38,40,42,44,46,48,51,53,55,57,60,63,65,67,70,73,76,78,81,84,87,90,93,96,99,102,106,109,112,115,119,123,126,129,133,137,141,144,... |
// bslmf_matchanytype.cpp -*-C++-*-
#include <bslmf_matchanytype.h>
#include <bsls_ident.h>
BSLS_IDENT("$Id$ $CSID$")
// ----------------------------------------------------------------------------
// Copyright (C) 2013 Bloomberg L.P.
//
// Permission is hereby granted, fre... |
SECTION code_l
PUBLIC l_inc_hl
inc hl
inc hl
inc hl
inc hl
inc hl
inc hl
inc hl
inc hl
l_inc_hl:
ret
|
;*****************************************************************************
;* checkasm-a.asm: assembly check tool
;*****************************************************************************
;* Copyright (C) 2008-2020 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Henrik Gramner <... |
.globl Tela38
Tela38:
addi $10, $0, 0xcff8cf
sw $10, 268500992($0)
addi $10, $0, 0x00d800
sw $10, 268500996($0)
addi $10, $0, 0x00d800
sw $10, 268501000($0)
addi $10, $0... |
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this... |
; A157824: 3600n^2 - 6751n + 3165.
; 14,4063,15312,33761,59410,92259,132308,179557,234006,295655,364504,440553,523802,614251,711900,816749,928798,1048047,1174496,1308145,1448994,1597043,1752292,1914741,2084390,2261239,2445288,2636537,2834986,3040635,3253484,3473533,3700782,3935231,4176880,4425729,4681778,4945027,521547... |
; A001370: Sum of digits of 2^n.
; Submitted by Jamie Morken(s3.)
; 1,2,4,8,7,5,10,11,13,8,7,14,19,20,22,26,25,14,19,29,31,26,25,41,37,29,40,35,43,41,37,47,58,62,61,59,64,56,67,71,61,50,46,56,58,62,70,68,73,65,76,80,79,77,82,92,85,80,70,77,82,74,85,89,88,86,109,110,103,89,70,86,109,110,130,125,106,104,100,110,112,107,1... |
;Write a program to add the numbers stored at memory locations $1000, $1001, and $1002
;and store the sum at memory location $1010.
org $800
ldaa $1000
adda $1001
adda $1002
staa $1010
end |
; A126192: Product of the even divisors of 2n.
; 2,8,12,64,20,576,28,1024,216,1600,44,110592,52,3136,3600,32768,68,373248,76,512000,7056,7744,92,84934656,1000,10816,11664,1404928,116,207360000,124,2097152,17424,18496,19600,5159780352,148,23104,24336,655360000,164,796594176,172,5451776,5832000,33856,188,260919263232,274... |
db 0 ; 342 DEX NO
db 63, 120, 85, 55, 90, 55
; hp atk def spd sat sdf
db WATER, DARK ; type
db 155 ; catch rate
db 161 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/hoenn/crawdaunt/front.d... |
#include <jni.h>
#include "../interop.hh"
#include "interop.hh"
#include "SkSVGSVG.h"
#include "SkSVGRenderContext.h"
extern "C" JNIEXPORT void JNICALL Java_org_jetbrains_skia_svg_SVGSVGKt_SVGSVG_1nGetX
(JNIEnv* env, jclass jclass, jlong ptr, jintArray jresult) {
SkSVGSVG* instance = reinterpret_cast<SkSVGSVG*>(... |
; A081147: Differences of Beatty sequence for square root of 5.
; 2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2
mov $3,$0
mov $6,2
lpb $6,1
mov $0,$3
s... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xc19c, %rsi
lea addresses_D_ht+0xa39c, %rdi
nop
nop
sub %r12, %r12
mov $75, %rcx
rep movsw
nop
dec %r9
lea addresses_D_ht+0x1199c, %rsi
lea addresses_WT_ht+0x77fc, %rdi
nop
nop... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x7335, %r8
nop
nop
nop
nop
nop
cmp %r15, %r15
mov $0x6162636465666768, %r13
movq %r13, %xmm2
vmovups %ymm2, (%r8)
inc %r11
lea addresses_WT_ht+0x13539, %rsi
lea addresses_UC_ht... |
SECTION code_clib
SECTION code_alloc_malloc
PUBLIC __heap_allocate_block
__heap_allocate_block:
; Create a new block inside the existing block at the given address.
; Assumes there is sufficient space to do so.
;
; enter : bc = gross request size
; hl = & block
; de = & block_new
... |
; sprites.asm
AnimateDemo proc
ld bc, zeuskeyaddr("M")
in a, (c)
and zeuskeymask("M")
ld b, Black
jp nz, SetBorder
ld b, Red
SetBorder:
... |
; A071235: a(n) = (n^12 + n^6)/2.
; 0,1,2080,266085,8390656,122078125,1088414496,6920702425,34359869440,141215033961,500000500000,1569215074141,4458051717120,11649044974645,28346959952416,64873174640625,140737496743936,291311130683665,578415707719200,1106657483056021,2048000032000000,3677913798576381,6427501372214560
... |
# $Id: timer.asm,v 1.1 2001/02/21 12:39:41 ellard Exp $
#
# Copyright 2001 by the President and Fellows of Harvard College.
# See LICENSE.txt for license information.
#
# timer.asm - a very simple example of the timer and the timer
# exception.
lc r3, 10 # cycles between timer interrupts.
lcl r4, 'a' # characters ... |
#ifndef __DATA_IMPORT_H__
#define __DATA_IMPORT_H__
#include <QMap>
#include <QVariant>
#include "map_overlay_manager.hpp"
struct CollectionData
{
QString name_ ; // name of the collection
quint64 folder_ ; // path of the collection in the library
QMap<QString, QVa... |
; A003274: Number of key permutations of length n: permutations {a_i} with |a_i-a_{i-1}| = 1 or 2.
; 1,1,2,6,12,20,34,56,88,136,208,314,470,700,1038,1534,2262,3330,4896,7192,10558,15492,22724,33324,48860,71630,105002,153912,225594,330650,484618,710270,1040980,1525660,2235994,3277040,4802768,7038832,10315944,15118786,22... |
; A305268: a(n) = 82*2^n + 440.
; 522,604,768,1096,1752,3064,5688,10936,21432,42424,84408,168376,336312,672184,1343928,2687416,5374392,10748344,21496248,42992056,85983672,171966904,343933368,687866296,1375732152,2751463864,5502927288,11005854136,22011707832,44023415224,88046830008,176093659576,352187318712,704374636984... |
; A156854: 2025n^2 - 3401n + 1428.
; 52,2726,9450,20224,35048,53922,76846,103820,134844,169918,209042,252216,299440,350714,406038,465412,528836,596310,667834,743408,823032,906706,994430,1086204,1182028,1281902,1385826,1493800,1605824,1721898,1842022,1966196,2094420,2226694,2363018,2503392,2647816,2796290,2948814,310538... |
// Copyright 2020 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... |
Name: calculate_usa.asm
Type: file
Size: 31108
Last-Modified: '1993-07-20T07:13:20Z'
SHA-1: 69AB7E2D705CEFE9F7503FEEF830302AE4318DC9
Description: null
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1a80a, %rsi
lea addresses_A_ht+0x27bc, %rdi
nop
nop
nop
nop
add $62536, %rdx
mov $103, %rcx
rep movsw
nop
nop
sub %rcx, %rcx
lea addresses_UC_ht+0x420e, %rsi
lea addresses_WT_ht+0x1b40... |
// ------------------------------------------------------------------------
// Copyright (C)
// Universitat Politecnica de Catalunya BarcelonaTech (UPC) - Spain
// University of California Berkeley (UCB) - USA
//
// Jordi Pont-Tuset <jordi.pont@upc.edu>
// Pablo Arbelaez <arbelaez@berkeley.edu>
// June 2014
// ... |
;
; ANSI Video handling for the TI calculators
; By Stefano Bodrato - Dec. 2000
;
; Scrollup
;
;
; $Id: f_ansi_scrollup.asm,v 1.8 2016-06-12 16:06:43 dom Exp $
;
INCLUDE "stdio/ansi/ticalc/ticalc.inc"
SECTION code_clib
PUBLIC ansi_SCROLLUP
EXTERN base_graphics
EXTERN tidi
EXTERN tiei
EXTERN ansi_del_li... |
; A068552: 2n*binomial(2n,n) - 4^n.
; Submitted by Jon Maiga
; -1,0,8,56,304,1496,6992,31664,140384,613016,2646544,11325200,48122528,203306736,854829344,3579783776,14939605184,62162742296,257985394064,1068242117456,4414349525024,18208784215376,74988168359264,308369069291936
mov $2,$0
mul $0,2
bin $0,$2
mov $1,2
mul $2... |
Name: zel_edt0.asm
Type: file
Size: 1894
Last-Modified: '2016-05-13T04:25:37Z'
SHA-1: D8362C7DA722E78E3B99B384BFDE955F22542946
Description: null
|
// Copyright Ted Middleton 2022.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#ifndef INCLUDED_mainframe_grouped_frame_h
#define INCLUDED_mainframe_grouped_frame_h
#include "mainframe/... |
COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Convert
FILE: convertText.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 3/92 Initial version
DESCRIPTIO... |
#include "fsmodel.h"
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QApplication>
#include <QClipboard>
#include <QCompleter>
#include <QDebug>
#include <QFile>
#include <QFileDialog>
#include <QFileInfo>
#include <QMessageBox>
#include <QProgressBar>
#include <QScreen>
#include <QScrollBar>
#include <QS... |
; A108882: Period doubling sequence starting with '1 0 1'.
; 1,0,1,1,0,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1
seq $0,100833 ; Smallest positive palindrome-free and squa... |
; A170559: Number of reduced words of length n in Coxeter group on 22 generators S_i with relations (S_i)^2 = (S_i S_j)^47 = I.
; 1,22,462,9702,203742,4278582,89850222,1886854662,39623947902,832102905942,17474161024782,366957381520422,7706105011928862,161828205250506102,3398392310260628142,71366238515473190982
add $0,... |
;/*
; * FreeRTOS Kernel V10.5.2
; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * 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 restri... |
//static context
.org 0x80051B5C
addiu a0, r0, 0x1B74
.org 0x80051B74
addiu v0, r0, 0x15D0
//fix save warp
.org 0x800526B0
lb t6, 0x0067(a0)
addiu at, r0, 0x0043
//Tree Dying Sfx frame check
.org 0x800527EC
addiu at, r0, 0x021E
//Don't reset Farore's Wind
.org 0x80053254
nop
//Sheik talks triforce
.org 0x8005397C
... |
SECTION rodata_font_fzx
PUBLIC _ff_dkud2_Neverend
_ff_dkud2_Neverend:
BINARY "font/fzx/fonts/dkud2/Neverend/neverend.fzx"
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xb3f5, %rax
nop
sub $56282, %r8
mov (%rax), %cx
nop
nop
nop
nop
cmp %rbp, %rbp
lea addresses_UC_ht+0x16c2b, %r12
nop
nop
nop
xor $59657, %r13
movl $0x61626364, (%r12)... |
; A087439: Expansion of (1-4x)/((1-x)(1-3x)(1-5x)).
; 1,5,22,98,451,2135,10312,50468,249061,1235465,6147802,30650438,152986471,764135195,3818284492,19084248008,95399716681,476934013325,2384476356382,11921800651178,59607259863691,298031069141855
add $0,1
mov $1,5
pow $1,$0
mov $2,3
pow $2,$0
mul $2,2
add $1,$2
div $1,8... |
;
; TI calc Routines
;
; fgetc_cons() Wait for keypress
;
; Stefano Bodrato - Apr 2001
;
;
; $Id: fputc_cons.asm,v 1.3 2001/11/05 09:47:11 stefano Exp $
;
XLIB fputc_cons
INCLUDE "stdio/ansi/ticalc/ticalc.inc"
.fputc_cons
ld hl,2
add hl,sp
ld a,(hl)
cp 12 ; CLS/FF
jr nz,nocls
ld b,8
.clsloop
push bc
IF F... |
#include "cpu6502.asm"
#include "ines_nrom.asm"
#include "nes.asm"
#bank zeropage
varTimer: #res 1
varPaletteIndex: #res 1
#bank prg
reset:
; disable IRQs and decimal mode
sei
cld
; disable APU frame IRQ
ldx #0x40
stx APU_FRMCNTR
; set up stack
ldx #0xff
txs
; disable NMI
inx
stx PPU_CTRL
; ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x16aa6, %rsi
lea addresses_normal_ht+0x182a6, %rdi
inc %r11
mov $114, %rcx
rep movsl
nop
nop
nop
xor $33187, %rdi
lea addresses_UC_ht+0x10aa6, %rsi
lea addresses_WT_ht+0x1eca6, %rdi
no... |
/*
* Copyright (c) 2020-2021 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the righ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
/****************************************************************************
*
* Copyright (c) 2012-2016 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Red... |
// Boost.Geometry
// Copyright (c) 2020, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Licensed under the Boost Software License version 1.0.
// http://www.boost.org/users/license.html
#ifndef BOOST_GEOMETRY_STRATEGIES_EXPAND_GEOGRAPHIC_HPP
#define BOOST_GEO... |
// Atari Tempest ROM Development Template
// Each function of the kernal is a no-args function
// The functions are placed in the SYSCALLS table surrounded by JMP and NOP
.cpu _6502
.file [name="ataritempest.bin", type="bin", segments="AtariTempest"]
.segmentdef AtariTempest [segments="Code, RomData, Vectors"]
.segme... |
; A046714: Convolution of A000108 (Catalan) with A000351 (powers of 5).
; Submitted by Jon Maiga
; 1,6,32,165,839,4237,21317,107014,536500,2687362,13453606,67326816,336842092,1684953360,8427441240,42146901045,210769862895,1053978959265,5270372435025,26353629438315,131774711311995
mov $2,$0
add $2,1
mov $3,$0
lpb $2
... |
; A041220: Numerators of continued fraction convergents to sqrt(122).
; Submitted by Jon Maiga
; 11,243,5357,118097,2603491,57394899,1265291269,27893802817,614928953243,13556330774163,298854205984829,6588348862440401,145242529179673651,3201923990815260723,70587570327115409557,1556128471187354270977,34305413936448909371... |
/* SPDX-License-Identifier: Apache-2.0 */
/*
* Copyright (C) 2009-2020 Intel Corporation
*/
/*++
@file: PTHI_Commands_BE.cpp
--*/
#include <sstream>
#include <string>
#include <iomanip>
#include <chrono>
#include <thread>
#include "global.h"
#include "GmsService.h"
#include "SIOWSManClient.h"
#include "HBPWSManClie... |
#include "Network/NetClient.h"
bool NetClient::netConnect(uint32_t iAddr, uint16_t iPort)
{
// 1. Create a socket descriptor, an integer (like a file-handle).
if ((m_Socket = socket(AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
{
perror("Invalid socket.");
return false;
}
LOG_CONSOLE("Socket created");
SOCK... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
; THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
; SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
; END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
; ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
; IN USING, DIS... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="fd, fd2"/>
<%docstring>
Invokes the syscall dup. See 'man 2 dup' for more information.
Arguments:
fd(int): fd
</%docstring>
${syscall('SYS_dup', fd)}
|
Image_type equ 0
Image_image equ 4
Image_x equ 8
Image_y equ 12
Image_w equ 16
Image_h equ 20
Image_source equ Component_CLASS_SIZE
Image_sw equ Component_CLASS_SIZE+4
Image_sh equ Component_CLASS_SIZE+8
Image.Create : ; Image source, int sw, int sh, int x, int y, int w, int h
methodTraceEnter
pop dword ... |
; A083585: (8*5^n - 5*2^n)/3.
; 1,10,60,320,1640,8280,41560,208120,1041240,5207480,26039960,130204920,651034840,3255194680,16276014360,81380153720,406900932440,2034504989880,10172525604760,50862629334520,254313149294040
mov $1,1
mov $2,$0
mov $3,1
lpb $2
add $1,$3
mul $1,5
sub $2,1
mul $3,2
lpe
mov $0,$1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x6f21, %rdi
nop
nop
nop
nop
nop
cmp $40817, %rdx
mov $0x6162636465666768, %r13
movq %r13, %xmm5
vmovups %ymm5, (%rdi)
nop
nop
add %rdi, %rdi
lea addresses_D_ht+0x13a81, %rcx
... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "TrackResources.h"
#include <cinttypes>
#include <stdio.h>
#include <string>
#include <unordered_map>
#include <unordered... |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
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 push %ebp
b: ... |
;*
;* Raster Music Tracker, RMT Atari routine version 1.20090108
;* (c) Radek Sterba, Raster/C.P.U., 2002 - 2009
;* http://raster.atari.org
;*
;* Warnings:
;*
;* 1. RMT player routine needs 19 itself reserved bytes in zero page (no accessed
;* from any other routines) as well as cca 1KB of memory before the "PLAYER"... |
# Authors: Miriam Penger, Lena Gerken, Tina Höflich
# Test for the function in draw_ball.asm
# The ball is shown in the upper left corner of the display so that the outer edges are exactly at the edge of the display.
# When executed correctly, the edge lengths of the ball are equal.
.include "cesplib_rars.asm"
.text... |
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF|FLAG_OF
;TEST_FILE_META_END
; SHL32r1
mov eax, 0x888
;TEST_BEGIN_RECORDING
shl eax, 0x1
;TEST_END_RECORDING
|
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module scene_5_collisions
.optsdcc -mgbz80
;--------------------------------------------------------... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x3512, %r12
clflush (%r12)
nop
nop
nop
nop
add %r13, %r13
mov (%r12), %r11d
and %r8, %r8
lea addresses_D_ht+0x793e, %r15
nop
nop
and %r8, %r8
mov $0x6162636465666768,... |
; Stats that move effects can raise or lower
; The relevant move effect IDs correspond to the stats
StatModTextStrings:
list_start StatModTextStrings
li "ATTACK"
li "DEFENSE"
li "SPEED"
li "SPECIAL"
assert_list_length SPECIAL_DOWN_SIDE_EFFECT - ATTACK_DOWN_SIDE_EFFECT + 1
li "ACCURACY"
li "EVADE"
assert_list_... |
; =============================================================================
; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems
; Copyright (C) 2008-2015 Return Infinity -- see LICENSE.TXT
;
; Debug functions
; =============================================================================
; ---------... |
; A230875: a(1)=0; thereafter a(n) = 2^a(ceiling(n/2)).
; 0,1,2,2,4,4,4,4,16,16,16,16,16,16,16,16,65536,65536,65536,65536,65536,65536,65536,65536,65536,65536,65536,65536,65536,65536,65536,65536
mov $1,$0
sub $1,$0
lpb $0
mov $2,$0
div $0,2
mov $3,2
lpb $3
mul $3,$2
lpe
pow $3,$1
mov $1,$3
lpe
mov $0,... |
; A269679: Number of length-4 0..n arrays with no repeated value differing from the previous repeated value by other than plus or minus one modulo n+1.
; Submitted by Jon Maiga
; 10,66,224,570,1212,2282,3936,6354,9740,14322,20352,28106,37884,50010,64832,82722,104076,129314,158880,193242,232892,278346,330144,388850,4550... |
; A027797: a(n) = 22*(n+1)*C(n+3,12).
; 220,3146,24024,130130,560560,2042040,6534528,18845112,49884120,122862740,284524240,624660036,1308811504,2631351800,5099265600,9561123000,17401243860,30826185390,53279826600,90034894950,149023274400,241985412240,386041244160,605812006800,936254919600,1426411906920,2144320317216,31... |
; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_setColor
asm_SMSlib_setC... |
; int __FASTCALL__ ferror(FILE *stream)
; 06.2008 aralbrec
PUBLIC ferror
EXTERN l_jphl
INCLUDE "../stdio.def"
.ferror
push hl
pop ix
ld a,STDIO_MSG_FERR
call l_jphl
ld h,0
ld l,a
bit 0,(ix+3) ; unget char available?
ret z ; if no return
an... |
<%
from pwnlib.regsort import regsort
from pwnlib.constants import Constant, eval
from pwnlib.shellcraft import registers
from pwnlib.shellcraft.thumb import mov
%>
<%page args="reg_context, stack_allowed=True"/>
<%docstring>
Sets multiple registers, taking any register dependencies into account
(i.e., given ea... |
; uchar esxdos_f_opendir(char *path)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_esxdos
PUBLIC esxdos_f_opendir
EXTERN asm_esxdos_f_opendir
esxdos_f_opendir:
ld a,__ESXDOS_DRIVE_CURRENT
ld b,0
jp asm_esxdos_f_opendir
|
/***************************************************************************
machine.c
Functions to emulate general aspects of the machine (RAM, ROM, interrupts,
I/O ports)
Tapper machine started by Chris Kirmse
***************************************************************************/
#include <stdio.h>... |
_CeladonGymText_48a5e::
text "Hello. Lovely"
line "weather isn't it?"
cont "It's so pleasant."
para "...Oh dear..."
line "I must have dozed"
cont "off. Welcome."
para "My name is ERIKA."
line "I am the LEADER"
cont "of CELADON GYM."
para "I teach the art of"
line "flower arranging."
cont "My #MON are of"... |
;===============================================================================
; Constants
AliensMax = 7
AliensHorizontalSpeed = 1
AliensFireDelay = 90
AliensRespawnDelay = 255
AliensXMoveDelay = 20
AliensXMoveNumIndices = 100
;==============================================================================... |
// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#includ... |
db 0 ; species ID placeholder
db 65, 80, 80, 58, 59, 63
; hp atk def spd sat sdf
db WATER, WATER ; type
db 45 ; catch rate
db 143 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/croconaw/front.dimensions"
db GROWTH_MEDIUM_S... |
; A181773: Molecular topological indices of the cocktail party graphs.
; 0,48,240,672,1440,2640,4368,6720,9792,13680,18480,24288,31200,39312,48720,59520,71808,85680,101232,118560,137760,158928,182160,207552,235200,265200,297648,332640,370272,410640
mul $0,-2
bin $0,3
sub $1,$0
div $1,4
mul $1,48
|
; wv_priority_queue_t *
; wv_priority_queue_init(void *p, size_t capacity, size_t max_size, int (*compar)(const void *, const void *))
SECTION code_adt_wv_priority_queue
PUBLIC _wv_priority_queue_init
EXTERN asm_wv_priority_queue_init
_wv_priority_queue_init:
pop af
pop de
pop bc
pop hl
pop ix
... |
;
; Grundy Newbrain Specific libraries
;
; Stefano Bodrato - 30/05/2007
;
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
;
;
; $Id: fdgetpos.asm,v 1.1 2007/06/03 15:13:06 stefano Exp $
XLIB fdgetpos
.fdgetpos
ld hl,-1
ret
|
; A207452: Number of n X 7 0..1 arrays avoiding 0 0 0 and 0 0 1 horizontally and 0 0 1 and 1 0 1 vertically.
; 42,1764,10710,36456,92610,196812,370734,640080,1034586,1588020,2338182,3326904,4600050,6207516,8203230,10645152,13595274,17119620,21288246,26175240,31858722,38420844,45947790,54529776,64261050,75239892,8756861... |
%include "lib.asm"
extern ExitProcess ; windows syscall to exit
section .text
section .bss
buffer resb 25
section .data
section .code
global _start
_start:
fgets buffer, 12 ; read number
a2i 12, buffer
mov EDI, 0 ; result
mov EBX, 10
loop1:
cmp EAX, 0
jle loop1_done ; if number == 0 don... |
; A166776: Number of nX2 1..3 arrays containing at least one of each value, all equal values connected, and rows considered as a single number in nondecreasing order.
; 0,12,51,135,286,530,897,1421,2140,3096,4335,5907,7866,10270,13181,16665,20792,25636,31275,37791,45270,53802,63481,74405,86676,100400,115687,132651,1514... |
/test/samples/vsx_mem.c.power9_clang-6.0.o: file format elf64-powerpcle
Disassembly of section .text:
0000000000000000 <INTRIN_schar>:
0: 00 00 26 28 cmpldi r6,0
4: 20 00 82 4d beqlr
8: 00 00 e0 38 li r7,0
c: 00 00 00 60 nop
10: 00 00 00 60 nop
14: 00 00 00 60 nop
18: 00 00 00 6... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="pid, cpusetsize, cpuset"/>
<%docstring>
Invokes the syscall sched_getaffinity. See 'man 2 sched_getaffinity' for more information.
Arguments:
pid(pid_t): pid
cpusetsize(size_t): cpusetsize
cpuset(cpu_set_t): cpuset
</%docstring>
... |
segment .data
a: dq 0
b: dq 0
c: dq 0
cnt: dq 0
fmt: dq "Largest number %lld was found at location %lld ",10,0
fmt1: dq " smallest number %lld was found at location %lld " ,10, 0
fmt_in: dq "%lld", 0
fmt_out: dq "THE SUM IS: %lld", 10, 0
segment .bss
array resq 21
segment .text
global main
extern printf
extern scanf
... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args=""/>
<%docstring>
Invokes the syscall getpgrp. See 'man 2 getpgrp' for more information.
Arguments:
</%docstring>
${syscall('SYS_getpgrp')}
|
// Copyright (c) 2021 Tobias Bohnen
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#include "AutomationEx.hpp"
#include "../StartScene.hpp"
#include <iomanip>
static auto create_scene(Game& game) -> std::shared_ptr<Scene>
{
return std::make_shared<AutomationEx>(game... |
; A054332: One half of tenth unsigned column of Lanczos triangle A053125 (decreasing powers).
; 5,440,16016,366080,6223360,85995520,1018716160,10711072768,102385254400,905301196800,7501067059200,58822597017600,439993025691648,3158924287016960,21879051958353920,146801380881858560,957545370752122880,6089666693993332736,3... |
tmhm: MACRO
; used in data/pokemon/base_stats/*.asm
_tms1 = 0 ; TM01-TM24 (24)
_tms2 = 0 ; TM25-TM48 (24)
_tms3 = 0 ; TM49-TM50 + HM01-HM07 + MT01-MT03 (12/24)
rept _NARG
if DEF(\1_TMNUM)
if \1_TMNUM < 24 + 1
_tms1 = _tms1 | (1 << ((\1_TMNUM) - 1))
elif \1_TMNUM < 48 + 1
_tms2 = _tms2 | (1 << ((\1_TMNUM) - 1 - 24))
... |
version https://git-lfs.github.com/spec/v1
oid sha256:351106ec3e042d56b63fbd9a03f605309fe05c598f81e0a72bd753f05da806dd
size 1850
|
; A024167: a(n) = n!*(1 - 1/2 + 1/3 - ... + c/n), where c = (-1)^(n+1).
; Submitted by Christian Krause
; 1,1,5,14,94,444,3828,25584,270576,2342880,29400480,312888960,4546558080,57424792320,948550176000,13869128448000,256697973504000,4264876094976000,87435019510272000,1627055289796608000,36601063093905408000,7541324458... |
// converted from BASIC from the Commodore 64 Programmer's reference guide page 149
.pc = $0801 "Basic Upstart Program"
:BasicUpstart($0810)
.pc = $0810 "Main Program"
// enable sprite 0
lda #1
sta $d015
// set background color to light blue
lda #$e
sta $d021
// expand sprites 0 and 1 in both x and y
lda #1
... |
;
; $Id: merlin5670.asm,v 1.2 2011/04/12 09:05:29 sraj Exp $
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2020 Broadcom Inc. All rights reserved.
;
;
; This is the default 5670 program for the Merlin (BCM9569... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x15995, %rsi
lea addresses_WT_ht+0x10d31, %rdi
sub $240, %r14
mov $54, %rcx
rep movsl
cmp $55566, %r13
lea addresses_A_ht+0x13815, %rsi
lea addresses_A_ht+0xf415, %rdi
nop
nop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.