text stringlengths 1 1.05M |
|---|
/*-------------------------------------------------------------------------
* drawElements Quality Program Tester Core
* ----------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... |
; EQU:
; Data addresses used by the opcodes that point to uninitialized memory areas.
L6001: equ 6001h ; 24577. Subroutine. Called by: L62E2[6300h].
L6010: equ 6010h ; 24592. Subroutine. Called by: L62E2[62E6h].
L601B: equ 601Bh ; 24603. Subroutine. Called by: L62E2[62E9h].
; Last element of stack:... |
print_string:
pusha ; push all register values to the stack
start:
mov al, [bx] ; 'bx' is the base address for the string
cmp al, 0
je done
mov ah, 0x0e ; int=10/ah=0x0e -> BIOS teletype output
int 0x10 ; print character in a1
add bx, 1
jmp start
done:
popa ; restore original register valu... |
INCLUDE "./src/include/entities.inc"
INCLUDE "./src/definitions/definitions.inc"
INCLUDE "./src/include/hardware.inc"
SECTION "Enemy D", ROM0
/* Update for enemy type D
Behavior:
- When player is in same view as enemy chase after player
- Will keep chasing player until player or the ghost dies
... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "platform/graphics/StaticBitmapImage.h"
#include "platform/graphics/AcceleratedStaticBitmapImage.h"
#include "platform/graphics/GraphicsContext.... |
/* *
* The MIT License (MIT)
*
* Copyright (c) 2013 Paul Holden et al. (See AUTHORS)
*
* 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... |
/*
* Copyright Andrey Semashev 2007 - 2015.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
/*!
* \file keywords/use_impl.hpp
* \author Andrey Semashev
* \date 14.03.2009
*
* Th... |
.MODEL SMALL
.STACK 100H
.DATA
PROMPT_1 DB 'Enter the binary value: $'
PROMPT_2 DB 0DH,0AH,'SHR by 4 bits: $'
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
LEA DX, PROMPT_1
MOV AH, 9
INT 21H
XOR BL, BL
MOV CX, 8
MOV AH, 1
@INPUT:
... |
.MODEL SMALL
.STACK 100H
.DATA
PROMPT_1 DB "Enter athe Lower-Case Letter: $"
PROMPT_2 DB 0DH,0AH, "The Upper-Case Letter is: $"
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
LEA DX, PROMPT_1
MOV AH, 9
INT 21H
MOV AH, 1
INT 21H
MOV BL, AL
LEA DX, PROM... |
_kill: 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 ... |
; A207165: Number of n X 4 0..1 arrays avoiding 0 0 0 and 1 0 1 horizontally and 0 0 1 and 1 0 1 vertically.
; 9,81,261,603,1161,1989,3141,4671,6633,9081,12069,15651,19881,24813,30501,36999,44361,52641,61893,72171,83529,96021,109701,124623,140841,158409,177381,197811,219753,243261,268389,295191,323721,354033,386181
mo... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="file, buf"/>
<%docstring>
Invokes the syscall stat. See 'man 2 stat' for more information.
Arguments:
file(char): file
buf(stat): buf
</%docstring>
${syscall('SYS_stat', file, buf)}
|
COMMENT | -*- Mode: asm; tab-width: 8; c-basic-offset: 4 -*-
***** BEGIN LICENSE BLOCK *****
Version: MPL 1.1/GPL 2.0/LGPL 2.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of... |
; A052603: E.g.f. (1-x)^3/(1-4x+3x^2-x^3).
; Submitted by Christian Krause
; 1,1,8,78,984,15480,292320,6441120,162207360,4595512320,144662112000,5009199148800,189221439052800,7743449813299200,341258374762905600,16113703632009984000,811588993992032256000,43431603596770701312000
mov $2,$0
seq $0,52529 ; Expansion of (1-... |
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The PIVX developers
// Copyright (c) 2019-2023 The PIVXL developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#inc... |
;
; jdmrgss2-64.asm - merged upsampling/color conversion (64-bit SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright 2009 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyr... |
/*
* Original work Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
* Modified work Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/PlayRho
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* a... |
; A124502: a(1)=a(2)=1; thereafter, a(n+1) = a(n) + a(n-1) + 1 if n is a multiple of 5, otherwise a(n+1) = a(n) + a(n-1).
; 1,1,2,3,5,9,14,23,37,60,98,158,256,414,670,1085,1755,2840,4595,7435,12031,19466,31497,50963,82460,133424,215884,349308,565192,914500,1479693,2394193,3873886,6268079,10141965,16410045,26552010,4296... |
; Stub for the SHARP MZ family
;
; Stefano Bodrato - 5/5/2000
;
; $Id: mz_crt0.asm,v 1.8 2007/06/27 20:49:27 dom Exp $
;
MODULE mz_crt0
;
; Initially include the zcc_opt.def file to find out lots of lovely
; information about what we should do..
;
INCLUDE "zcc_opt.... |
; *************************************************************************
; ******************** ********************
; ******************** Win95.Etymo-Crypt ********************
; ******************** by ********************
; **************... |
PAGE 60,132;
TITLE EDLIN
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;======================= START OF SPECIFICATIONS =========================
;
; MODULE NAME: EDLIN.SAL
;
; DESCRIPTIVE NAME:... |
dnl ARM mpn_mod_34lsub1 -- remainder modulo 2^24-1.
dnl Copyright 2012, 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public ... |
# mipstest.asm
# David_Harris@hmc.edu 9 November 2005
#
# Test the MIPS processor.
# add, sub, and, or, slt, addi, lw, sw, beq, j
# If successful, it should write the value 7 to address 84
# Assembly Description Address Machine
main: addi $2, $0, 5 # initial... |
db 0 ; species ID placeholder
db 60, 25, 35, 60, 70, 80
; hp atk def spd sat sdf
db PSYCHIC, PSYCHIC ; type
db 255 ; catch rate
db 89 ; base exp
db NO_ITEM, BERRY ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/spoink/front.dimensions"
db GROWTH_FAST ; gro... |
// Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/api/atom_api_web_contents.h"
#include <set>
#include <string>
#include "atom/browser/api/atom_api_browser_window.h"
#include "atom/browser/api/atom_api_debugge... |
title "Processor type and stepping detection"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; cpu.asm
;
; Abstract:
;
; This module implements the assembley code necessary to determine
; cpu type and stepping information.
;
; Author:
;
; Shie-Lin Tzong (shieli... |
; A111491: a(0) = 1; for n>0, a(n) = (2^n-1)*a(n-1)-(-1)^n.
; Submitted by Jon Maiga
; 1,2,5,36,539,16710,1052729,133696584,34092628919,17421333377610,17822024045295029,36481683220718924364,149392492788843995270579,1223673908433421165261312590,20047449641864738950476084161969,656894782414981901190249849735238224
mov $... |
; A184552: Super-birthdays (falling on the same weekday), version 4 (birth in the year preceding a February 29).
; 0,5,11,22,28,33,39,50,56,61,67,78,84,89,95,106,112,117,123,134,140,145,151,162,168,173,179,190,196,201,207,218,224,229,235,246,252,257,263,274,280,285,291,302,308,313,319,330,336,341,347,358,364,369,375,38... |
;
; jcsammmx.asm - downsampling (MMX)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled with... |
; A291142: a(n) = (1/4)*A291024(n).
; 0,1,2,6,16,43,114,300,784,2037,5266,13554,34752,88799,226210,574680,1456352,3682409,9292002,23403102,58842416,147713043,370262930,926852868,2317191024,5786293597,14433117938,35964267594,89528469088,222666575815,553319176770,1373865411504,3408628520128,8450839974609,20937322035394,5... |
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/gama-config.h"
#endif
#include <cstring>
#if HAVE_DECL_STRNLEN == 0
size_t strn... |
; A259108: a(n) = 2 * A000538(n).
; 0,2,34,196,708,1958,4550,9352,17544,30666,50666,79948,121420,178542,255374,356624,487696,654738,864690,1125332,1445332,1834294,2302806,2862488,3526040,4307290,5221242,6284124,7513436,8927998,10547998,12395040,14492192,16864034,19536706,22537956,25897188,29645510,33815782,38442664,435... |
/**
* @file debug.cpp
*
* @brief Provides simple simulation loops that are useful for debugging ECC implementations
*
* @author Minesh Patel
* Contact: minesh.patelh@gmail.com
*/
#include <cstdio>
#include <cinttypes>
#include <iostream>
#include <string>
#include <vector>
#include <set>
#include <map>
#include ... |
; A346434: Triangle read by rows of numbers with n 1's and n 0's in their representation in base of Fibonacci numbers (A210619), written as those 1's and 0's.
; Submitted by Christian Krause
; 10,1001,1010,100101,101001,101010,10010101,10100101,10101001,10101010,1001010101,1010010101,1010100101,1010101001,1010101010,10... |
; A247432: Complement of A247431.
; 4,7,11,15,18,22,26,29,33,36,40,44,47,51,54,58,62,65,69,73,76,80,83,87,91,94,98,102,105,109,112,116,120,123,127,130,134,138,141,145,149,152,156,159,163,167,170,174,178,181,185,188,192,196,199,203,206,210
mov $3,$0
add $3,$0
mov $5,$0
div $5,7
sub $3,$5
mov $2,$3
div $2,3
add $2,1
mov... |
; A016798: (3n+2)^10.
; 1024,9765625,1073741824,25937424601,289254654976,2015993900449,10240000000000,41426511213649,141167095653376,420707233300201,1125899906842624,2758547353515625,6278211847988224,13422659310152401,27197360938418176,52599132235830049,97656250000000000,174887470365513049,303305489096114176,5111167533... |
; Set TransMatTo
; XX16(1 0) (3 2) (5 4) = sidev_x sidev_y sidev_z XX16(13,12) (15 14) (17 16)
; XX16(7 6) (9 8) (11 10) = roofv_x roofv_y roofv_z XX16(7 6) (9 8) (11 10)
; XX16(13 12) (15 14) (17 16) = nosev_x nosev_y nosev_z XX16(1 0) (3 2) (5 4)
; This moves Side XYZ to position 0, Roof XYZ to posi... |
#include <iostream>
#include <algorithm>
#include <cstring>
using namespace std;
/*
given two strings
find length of longest common subsequence (LCS)
or
find maximum length of the common appearing subsequence in both strings
ip:
s1 = "ABCDGH"
s2 = "AEDFHR"
op: 3
explnation: ADH
ip:
s1 = "AGGTAB"
s2 = "GXTXAYB"
op: 4
... |
; A199113: (11*3^n+1)/2.
; 6,17,50,149,446,1337,4010,12029,36086,108257,324770,974309,2922926,8768777,26306330,78918989,236756966,710270897,2130812690,6392438069,19177314206,57531942617,172595827850,517787483549,1553362450646,4660087351937,13980262055810,41940786167429,125822358502286,377467075506857,1132401226520570,3... |
/*
* Copyright (c) 2017 Advanced Micro Devices, Inc.
* 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 source code must retain the above copyright
* notice, this list of ... |
; A265694: a(n) = n!! mod n^2 where n!! is a double factorial number (A006882).
; Submitted by Simon Strandgaard
; 0,2,3,8,15,12,7,0,54,40,110,0,104,84,0,0,221,0,342,0,0,220,506,0,0,312,0,0,493,0,930,0,0,544,0,0,222,684,0,0,369,0,1806,0,0,1012,47,0,0,0,0,0,1590,0,0,0,0,1624,59,0,3050,1860,0,0,0,0,4422,0,0,0
add $0,1
m... |
print:
pusha
start:
mov al, [bx]
cmp al, 0
je done
mov ah, 0x0e
int 0x10
add bx, 1
jmp start
done:
popa
ret
print_nl:
pusha
mov ah, 0x0e
mov al, 0x0a
int 0x10
mov al, 0x0d
int 0x10
popa
ret
|
;
; Amstrad CPC library
; set color palette, flashing is useless so we forget the second color
;
; void __LIB__ __CALLEE__ cpc_set_palette_callee(int pen, int color);
;
; $Id: cpc_set_palette_callee.asm $
;
SECTION code_clib
PUBLIC cpc_set_palette_callee
PUBLIC _... |
;;/***********************************************************************************************************************
;;* DISCLAIMER
;;* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No
;;* other uses are authorized. This software is owned by Rene... |
; Troy's HBC-56 - BASIC - Output (LCD)
;
; Copyright (c) 2021 Troy Schrapel
;
; This code is licensed under the MIT license
;
; https://github.com/visrealm/hbc-56
;
; -----------------------------------------------------------------------------
; hbc56SetupDisplay - Setup the display (LCD)
; --------------------------... |
SFX_Battle_20_Ch1:
unknownnoise0x20 12, 241, 84
unknownnoise0x20 8, 241, 100
endchannel
|
global testit
section .text
testit:
mov rax,rdi
or rax,rsi
ret |
/*
* RTrack - base class for Racer tracks
* 01-11-00: Created!
* (c) Dolphinity
*/
#include <racer/racer.h>
#include <qlib/debug.h>
#pragma hdrstop
DEBUG_ENABLE
// Local trace?
#define LTRACE
// Default track information file
#define TRACK_INI "track.ini"
// File with special things, like grid positions, pit po... |
PikachuEmotion0:
db $ff
PikachuEmotion2:
pikaemotion_dummy2
pikaemotion_emotebubble SMILE_BUBBLE
pikaemotion_pcm PikachuCry5;35
pikaemotion_pikapic PikaPicAnimScript2 ;arms raised happy. evolve around this time maybe?
db $ff
PikachuEmotionSkull:
pikaemotion_dummy2
pikaemotion_emotebubble SKULL_BUBBLE
db $ff... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.6 #12419 (Linux)
;--------------------------------------------------------
; Processed by Z88DK
;--------------------------------------------------------
EXTERN __divschar
EXTERN __divsc... |
#include "../../TensorShaderAvxBackend.h"
using namespace System;
__forceinline __m256d _mm256_trivectormul_pd(__m256d v, __m256d q) {
const __m256d sign_pmm = _mm256_castsi256_pd(_mm256_setr_epi64x(0, 0x8000000000000000ull, 0x8000000000000000ull, 0));
const __m256d sign_mpm = _mm256_castsi256_pd(_mm256_setr_... |
.data
string: .asciiz "2016 e 2020 sao anos bissextos"
.eqv print_int10, 1
.text
.globl main
main:
subiu $sp, $sp, 4
sw $ra, ($sp)
la $a0, string
jal atoi
move $a0, $v0
li $v0, print_int10
syscall
lw $ra, ($sp)
addiu $sp, $sp, 4
jr $ra
##################################################################... |
; A047609: Numbers that are congruent to {0, 4, 5} mod 8.
; 0,4,5,8,12,13,16,20,21,24,28,29,32,36,37,40,44,45,48,52,53,56,60,61,64,68,69,72,76,77,80,84,85,88,92,93,96,100,101,104,108,109,112,116,117,120,124,125,128,132,133,136,140,141,144,148,149,152,156,157
mov $3,$0
mul $0,2
mov $2,$0
trn $2,1
mov $0,$2
mov $1,1
lpb... |
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [result1]
.const 3 string [result2]
.const 4 string [e]
.const 5 string [elemento]
.const 6 string [x]
.const 7 string [result1: ]
.const 8 int [2]
.const 9 string [io.writeln]
.con... |
#include "IronFenceBlock.h"
#include "blocks/Blocks.h"
#include "mcpe/client/resources/I18n.h"
IronFenceBlock::IronFenceBlock():FenceBlock("fence.iron",IC::Blocks::ID::mIronFence,Material::getMaterial(MaterialType::METAL))
{
init();
setCategory(CreativeItemCategory::DECORATIONS);
setSolid(false);
setDestroyTime(3... |
;
; $Id: 0x00.asm,v 1.1.1.1 2016/03/27 08:40:12 raptor Exp $
;
; 0x00 explanation - from xchg rax,rax by xorpd@xorpd.net
; Copyright (c) 2016 Marco Ivaldi <raptor@0xdeadbeef.info>
;
; This is the snippet #0: it sets registers to 0 in different ways.
;
; Example:
; uncomment the added lines
; $ nasm -f elf64 0x00.asm
; ... |
;------------------------------------------------------------------------------
;
; 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... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r9
push %rax
push %rbp
push %rbx
push %rcx
// Store
lea addresses_normal+0x145d9, %r13
nop
nop
nop
and %rbp, %rbp
movw $0x5152, (%r13)
nop
nop
nop
dec %rax
// Store
lea addresses_WC+0xd4d9, %rcx
nop
no... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: common routines for the print driver
FILE: rotate2pass24.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------... |
; A036441: a(n+1) = next number having largest prime dividing a(n) as a factor, with a(1) = 2.
; Submitted by Jamie Morken(s4)
; 2,4,6,9,12,15,20,25,30,35,42,49,56,63,70,77,88,99,110,121,132,143,156,169,182,195,208,221,238,255,272,289,306,323,342,361,380,399,418,437,460,483,506,529,552,575,598,621,644,667,696,725,754,7... |
; A042420: Numerators of continued fraction convergents to sqrt(738).
; Submitted by Jon Maiga
; 27,163,8829,53137,2878227,17322499,938293173,5647081537,305880696171,1840931258563,99716168658573,600137943210001,32507165101998627,195643128555201763,10597236107082893829,63779059771052564737,3454666463743921389627,2079177... |
; A002817: Doubly triangular numbers: a(n) = n*(n+1)*(n^2+n+2)/8.
; 0,1,6,21,55,120,231,406,666,1035,1540,2211,3081,4186,5565,7260,9316,11781,14706,18145,22155,26796,32131,38226,45150,52975,61776,71631,82621,94830,108345,123256,139656,157641,177310,198765,222111,247456,274911,304590,336610,371091,408156,447931,490545,5... |
global _start
section .text
_start:
section .data
number: db "69", 10 ; hardcoded newlines as newlines not supported yet
section .text
mov rax, 1 ; syscall for write
mov rdi, 1 ; file handle 1 is stdout
mov rsi, number ; ardr... |
; A093610: Lower Beatty sequence for e^G, G = Euler's gamma constant.
; 1,3,4,6,7,9,10,12,14,15,17,18,20,21,23,24,26,28,29,31,32,34,35,37,39,40,42,43,45,46,48,49,51,53,54,56,57,59,60,62,64,65,67,68,70,71,73,74,76,78,79,81,82,84,85,87,89,90,92,93,95,96,98,99,101,103,104,106,107
lpb $0,1
sub $0,1
add $1,5
lpe
mul $1... |
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 int [1]
.const 3 string [um]
.const 4 int [2]
.const 5 string [dois]
.const 6 string [x]
.const 7 string [number1]
.const 8 string [msg1]
.const 9 string [number2]
.const 10 string [... |
copyright zengfr site:http://github.com/zengfr/romhack
0070EE move.b ($b,A2), ($3f,A3) [container+16]
0070F4 andi.b #$7f, ($3f,A3) [container+3F]
0070FA bsr $72f6 [container+3F]
007128 move.b ($b,A2), ($3f,A3) [container+16]
00712E andi.b #$7f, ($3f,A3) [container+3F]
007134 bsr $72f6 [container+3F]
... |
db DEX_WOBBUFFET ; pokedex id
db 190 ; base hp
db 33 ; base attack
db 58 ; base defense
db 33 ; base speed
db 58 ; base special
db PSYCHIC ; species type 1
db PSYCHIC ; species type 2
db 34 ; catch rate
db 20 ; base exp yield
INCBIN "pic/ymon/wobbuffet.pic",0,1 ; 66, sprite dimensions
dw WobbuffetPicFront
dw WobbuffetP... |
//
// 376.cpp
// LeetCode
//
// Created by Narikbi on 23.03.17.
// Copyright © 2017 app.leetcode.kz. All rights reserved.
//
#include <stdio.h>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <deque>
#include <queue>
#include <set>
#include <map>
#include <stack>
#include <cma... |
/**
* Copyright (C) 2020 Samsung Electronics Co., Ltd. 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
* http://www.apache.org/licenses/LICENSE-2.0
* Unless requ... |
; A089826: Decimal expansion of real root of 2*x^3+x^2-1.
; Submitted by Christian Krause
; 6,5,7,2,9,8,1,0,6,1,3,8,3,7,5,9,9,0,8,2,5,0,5,5,5,2,0,0,0,4,8,0,1,7,1,1,6,4,5,0,4,7,6,8,6,1,8,9,2,6,3,4,6,1,7,7,2,0,3,3,5,4,8,7,9,7,5,3,9,4,5,7,3,1,4,7,1,2,1,3,6,9,6,8,0,8,4,3,5,0,7,8,8,8,4,7,9,6,2
add $0,1
mov $2,1
mov $3,$0
m... |
dnl ARM64 mpn_addlsh1_n, mpn_sublsh1_n, mpn_rsblsh1_n.
dnl Copyright 2017 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public Lic... |
/*************************************************************************
> File Name: stdiotostdout.cpp
> Author: aoumeior
> Mail: aoumeior@outlook.com
> Created Time: 2018年02月13日 星期二 00时15分22秒
************************************************************************/
#include <sys/stat.h>
#include ... |
db 0 ; species ID placeholder
db 75, 85, 200, 30, 55, 65
; hp atk def spd sat sdf
db STEEL, GROUND ; type
db 25 ; catch rate
db 196 ; base exp
db NO_ITEM, METAL_COAT ; items
db GENDER_F50 ; gender ratio
db 25 ; step cycles to hatch
INCBIN "gfx/pokemon/steelix/front.dimensions"
db GROWTH_MEDIUM_... |
CALL LABEL3 ; LABEL3 - yes
LD A,(LABEL1) ;rdlow-ok low mem; LABEL1 - yes
jr 1B ;; error
jr 1F
jr 4F
1
jr 1B
jr 1F ;; error
IFUSED LABEL1
LABEL1:
DB '1'
ENDIF
jr 2F
jr 4F
2
jr 1B
jr 2B
IFUSED LABEL2
LABEL2:
DB '2'
ENDIF
jr 3F
... |
// Copyright (c) 2011-2016 The Bitcoin Core developers
// Copyright (c) 2017-2019 The Mule Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "a... |
; Microcomputer Systems - Flow Y [6th Semester]
; Nafsika Abatzi - 031 17 198 - nafsika.abatzi@gmail.com
; Dimitris Dimos - 031 17 165 - dimitris.dimos647@gmail.com
; 5th Group of Exercises
; 5th Exercise
INCLUDE MACROS.ASM
PRINT_DEC MACRO
PUSH AX
ADD DL, 30H
MOV AH,2
INT 21H
... |
;
; Copyright (c) 2011 Intel Corporation
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice,
; this list of conditions and the following d... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
org 256*(1+(HIGH($))) ;align to 256b page
smp0 ;silence
ds 256,0
;**********************************************************
;add your samples here
smp1
include "samples/tri-v4.asm"
smp1a
include "samples/tri-v2.asm"
smp2
include "samples/sq50-v4.asm"
smp3
include "samples/sq50-v3.asm"
smp4
include "... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="pid, param"/>
<%docstring>
Invokes the syscall sched_setparam. See 'man 2 sched_setparam' for more information.
Arguments:
pid(pid_t): pid
param(sched_param): param
</%docstring>
${syscall('SYS_sched_setparam', pid, param)}
|
;
; Startup for the Dick Smith Super80
;
module super80_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; Some scope definitions
;--------
EXTERN _main ;main() is always external to crt0 code
EXTE... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return randstate;
}
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 ... |
; A298864: Ranks of products 3*p when all primes p and products 3*p are jointly ranked.
; 4,6,9,12,16,18,22,24,28,33,35,41,43,45,49,53,57,60,65,67,68,73,76,80,86,88,90,94,95,98,106,109,113,114,121,123,128,131,134,137,140,142,148,150,152,154,162,169,172,174,176,179,181,187,191,194,196,199,204,206,207,213,220,222,224,227... |
Entity start
No options
Constants
0 S start
1 S var1
2 S var2
3 I 10
4 I 1
5 S io.writeln
6 I 20
End
Valid context (always)
No properties
Def start
No parameters
Local variables
0 int var1
1 int var2
End
No results
ldconst 3 --> [10]
stvar 0 --> [var1]
ldvar 0 --> [var1]
ldcons... |
; A047514: Numbers that are congruent to {3, 4, 6, 7} mod 8.
; 3,4,6,7,11,12,14,15,19,20,22,23,27,28,30,31,35,36,38,39,43,44,46,47,51,52,54,55,59,60,62,63,67,68,70,71,75,76,78,79,83,84,86,87,91,92,94,95,99,100,102,103,107,108,110,111,115,116,118,119,123,124,126,127,131,132,134,135,139,140,142,143,147,148,150,151,155,15... |
#include "forms/listbox.h"
#include "dependencies/pugixml/src/pugixml.hpp"
#include "forms/scrollbar.h"
#include "framework/event.h"
#include "framework/framework.h"
#include "framework/renderer.h"
namespace OpenApoc
{
ListBox::ListBox() : ListBox(nullptr) {}
ListBox::ListBox(sp<ScrollBar> ExternalScrollBar)
: C... |
[BITS 32]
GLOBAL api_putstrwin
[SECTION .text]
api_putstrwin: ; void api_putstrwin(int win, int x, int y, int col, int len, char *str);
PUSH EDI
PUSH ESI
PUSH EBP
PUSH EBX
MOV EDX, 6
MOV EBX, [ESP+20] ; win
MOV ESI, [ESP+24] ... |
; A160765: Expansion of (1+13*x+32*x^2+13*x^3+x^4)/(1-x)^5.
; 1,18,112,403,1071,2356,4558,8037,13213,20566,30636,44023,61387,83448,110986,144841,185913,235162,293608,362331,442471,535228,641862,763693,902101,1058526,1234468,1431487,1651203,1895296,2165506,2463633,2791537,3151138,3544416,3973411,4440223,4947012,5495998,... |
copyright zengfr site:http://github.com/zengfr/romhack
0017C6 bne $17cc [123p+ 60, enemy+60]
0017CC jsr $f98.w [123p+ 60, enemy+60]
007E9E move.b D0, ($61,A1)
007F2A move.b D5, ($61,A1)
011C78 move.b D0, ($60,A0)
011C7C move.b D0, ($61,A0)
01A74C dbra D7, $1a74a
01A75E dbra D4, $1a75c
0... |
; struct sp1_ss __CALLEE__ *sp1_CreateSpr_callee(void *drawf, uchar type, uchar height, int graphic, uchar plane)
; 01.2008 aralbrec, Sprite Pack v3.0
; ts2068 hi-res version
PUBLIC sp1_CreateSpr_callee
PUBLIC ASMDISP_SP1_CREATESPR_CALLEE
EXTERN _sp1_struct_ss_prototype, _sp1_struct_cs_prototype
EXTERN _u_malloc, _u_... |
; A170744: Expansion of g.f.: (1+x)/(1-24*x).
; 1,25,600,14400,345600,8294400,199065600,4777574400,114661785600,2751882854400,66045188505600,1585084524134400,38042028579225600,913008685901414400,21912208461633945600,525893003079214694400,12621432073901152665600,302914369773627663974400,7269944874567063935385600,1744786... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 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... |
; A242850: 32*n^5 - 32*n^3 + 6*n.
; 0,6,780,6930,30744,96030,241956,526890,1032240,1866294,3168060,5111106,7907400,11811150,17122644,24192090,33423456,45278310,60279660,79015794,102144120,130395006,164575620,205573770,254361744,312000150,379641756,458535330,550029480,655576494,776736180,915179706,1072693440,1251182790,... |
;******************************************************************************
;
; (c) 2006 by BECK IPC GmbH
; http://www.beck-ipc.com
;
;******************************************************************************
;
; Module: usb11.asm
; Function: Dynamic linking of USB-API-Function usbDeviceDeinit()
;
;
;***... |
Fish:
; Using a fishing rod.
; Fish for monsters with rod e in encounter group d.
; Return monster e at level d.
push af
push bc
push hl
ld b, e
call GetFishGroupIndex
ld hl, FishGroups
rept FISHGROUP_DATA_LENGTH
add hl, de
endr
call .Fish
pop hl
pop bc
pop af
ret
.Fish:
; Fish for monsters with rod b ... |
;
; Protected Mode
;
; print_hex.asm
;
[bits 16]
; Define Function print_hex_bios
; Input in bx
print_hex_bios:
; Save state
push ax
push bx
push cx
; Enable print mode
mov ah, 0x0E
; Print prefix
mov al, '0'
int 0x10
mov al, 'x'
int 0x10
; Initialize cx as counter
... |
; A022793: Place where n-th 1 occurs in A023131.
; 1,4,10,19,31,46,63,83,106,132,161,193,227,264,304,347,393,442,493,547,604,664,727,793,861,932,1006,1083,1163,1246,1331,1419,1510,1604,1701,1800,1902,2007,2115,2226,2340,2456,2575,2697,2822,2950
mov $16,$0
mov $18,$0
add $18,1
lpb $18,1
clr $0,16
mov $0,$16
sub $... |
; A225826: Number of binary pattern classes in the (2,n)-rectangular grid: two patterns are in same class if one of them can be obtained by a reflection or 180-degree rotation of the other.
; 1,3,7,24,76,288,1072,4224,16576,66048,262912,1050624,4197376,16785408,67121152,268468224,1073790976,4295098368,17180065792,68720... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
; -------------------------------------------------------------------------------
; Combined routine for conversion of different sized binary numbers into
; directly printable ASCII(Z)-string
; Input value in registers, number size and -related to that- registers to fill
; is selected by calling the correct entry:
;
; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.